[Bugfix]: elif statement was not working.

This commit is contained in:
Ludger Küperkoch 2020-07-27 16:55:19 +02:00
parent 2bab42a0dc
commit 1f6a44eeef

View File

@ -3429,7 +3429,7 @@ class MainWindow(QMainWindow):
print("Network local magnitude: %4.1f" % net_ml.mag) print("Network local magnitude: %4.1f" % net_ml.mag)
if magscaling is None: if magscaling is None:
scaling = False scaling = False
elif magscaling[0] != 0 and magscaling[1] != 0: elif magscaling[0] == 0.0 and magscaling[1] == 0.0:
scaling = False scaling = False
else: else:
scaling = True scaling = True