aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.py
diff options
context:
space:
mode:
authortassaron2017-06-25 18:12:16 -0400
committertassaron2017-06-25 18:12:16 -0400
commit252639e9a2ab69e0aceb0caa6ae3ca0a3dfad686 (patch)
tree0ffb9813f0a2636f0fe4047a61e516dc631711a2 /src/mainwindow.py
parentf284acbf19ca3549b4aa2c3cab226e5254cdf936 (diff)
renamed Original Audio Visualization to Classic Visualizer
Diffstat (limited to 'src/mainwindow.py')
-rw-r--r--src/mainwindow.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainwindow.py b/src/mainwindow.py
index 203992b..a39f344 100644
--- a/src/mainwindow.py
+++ b/src/mainwindow.py
@@ -644,8 +644,9 @@ class MainWindow(QtWidgets.QMainWindow):
field.blockSignals(False)
@disableWhenEncoding
- def createNewProject(self):
- self.openSaveChangesDialog('starting a new project')
+ def createNewProject(self, prompt=True):
+ if prompt:
+ self.openSaveChangesDialog('starting a new project')
self.clear()
self.currentProject = None