[closes #184] saving picks works
saving now works without openening the filename prompt twice or more often
This commit is contained in:
parent
c2168dbef3
commit
6f26ab07b7
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user