summaryrefslogtreecommitdiff
path: root/src/main/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/python')
-rw-r--r--src/main/python/main.py4
-rw-r--r--src/main/python/utils/toolbar.py1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py
index 35c95c3..3aa8e6a 100644
--- a/src/main/python/main.py
+++ b/src/main/python/main.py
@@ -136,8 +136,8 @@ class appWindow(QMainWindow):
if i.tabCount:
name = QFileDialog.getSaveFileName(self, 'Save File', f'New Diagram {j}', 'Process Flow Diagram (*.pfd)')
i.saveProject(name)
- else:
- return False
+ else:
+ return False
return True
def saveImage(self):
diff --git a/src/main/python/utils/toolbar.py b/src/main/python/utils/toolbar.py
index f2bbd5a..dbfff22 100644
--- a/src/main/python/utils/toolbar.py
+++ b/src/main/python/utils/toolbar.py
@@ -110,7 +110,6 @@ class toolbar(QDockWidget):
for item in toolbarItems[itemClass].keys():
obj = toolbarItems[itemClass][item]
button = toolbarButton(self, obj)
- button.clicked.connect(lambda : self.toolbuttonClicked.emit(obj))
self.toolbarButtonDict[itemClass][item] = button
@property