diff --git a/QtPyLoT.py b/QtPyLoT.py index f9c5b313..47619cc4 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -456,7 +456,7 @@ class MainWindow(QMainWindow): ret = msgBox.exec_() if ret == QMessageBox.Save: self.getData().resetPicks() - self.saveData() + return self.saveData() elif ret == QMessageBox.Cancel: return False try: