diff options
-rw-r--r-- | mageiaSync/mageiasync.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py index a524702..068d779 100644 --- a/mageiaSync/mageiasync.py +++ b/mageiaSync/mageiasync.py @@ -400,8 +400,8 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow): self.selectAllState=not self.selectAllState def connectActions(self): - self.actionQuit.triggered.connect(app.quit) - self.quit.clicked.connect(app.quit) + self.actionQuit.triggered.connect(self.close) + self.quit.clicked.connect(self.close) self.actionRename.triggered.connect(self.rename) self.actionUpdate.triggered.connect(self.updateList) self.actionCheck.triggered.connect(self.manualChecks) @@ -578,7 +578,7 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow): def close(self): self.rsyncThread.stop() - exit(0) + app.quit() if __name__=='__main__': app = QApplication(sys.argv) |