diff options
author | Papoteur <papoteur@mageia.org> | 2021-01-10 13:50:51 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2021-01-10 13:50:51 +0100 |
commit | 5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa (patch) | |
tree | c735d7582b1a3b3a338cbf15152b0f2534238fc7 /mageiaSync | |
parent | e8c664c946cad6d092764ffee24d9973a4d54a89 (diff) | |
download | MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.tar MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.tar.gz MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.tar.bz2 MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.tar.xz MageiaSync-5530fc19b0c10d01ebdf5f4fceef0e1ca33c16fa.zip |
Stop syncing when quitting
Diffstat (limited to 'mageiaSync')
-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) |