[closes #184] saving picks works

saving now works without openening the filename prompt  twice or more often
This commit is contained in:
Sebastian Wehling-Benatelli 2016-03-03 13:17:10 +01:00
parent c2168dbef3
commit 6f26ab07b7

View File

@ -456,7 +456,7 @@ class MainWindow(QMainWindow):
ret = msgBox.exec_() ret = msgBox.exec_()
if ret == QMessageBox.Save: if ret == QMessageBox.Save:
self.getData().resetPicks() self.getData().resetPicks()
self.saveData() return self.saveData()
elif ret == QMessageBox.Cancel: elif ret == QMessageBox.Cancel:
return False return False
try: try: