From bf286b235e9b2daf39fed456a28e53ff3cedb5c5 Mon Sep 17 00:00:00 2001
From: mattminder <myfiles@Mattus-MacBook-Pro.local>
Date: Mon, 4 May 2020 11:57:22 +0200
Subject: [PATCH] Bugfix for syntax err

---
 GUI_main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GUI_main.py b/GUI_main.py
index f4c176c..ddfb218 100644
--- a/GUI_main.py
+++ b/GUI_main.py
@@ -1040,7 +1040,7 @@ class App(QMainWindow):
             
 #            if the user presses 'ok' in the dialog window it executes the code
 #           else it does nothing
-            if dlg.exec():
+            if dlg.exec_():
 #                it tests that the user has entered some value, that it is not
 #                empty and that it is equal or bigger to 0.
                 if dlg.entry1.text() != '' and int(dlg.entry1.text()) >= 0:
-- 
GitLab