From 6f26ab07b73c9c2218f82e2a35c40c75d78fc169 Mon Sep 17 00:00:00 2001 From: Sebastianw Wehling-Benatelli Date: Thu, 3 Mar 2016 13:17:10 +0100 Subject: [PATCH] [closes #184] saving picks works saving now works without openening the filename prompt twice or more often --- QtPyLoT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: