diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-25 10:35:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-25 10:35:34 +0100 |
commit | 24f3071c58b562c5ff5cc57d7a0e97d881f43abe (patch) | |
tree | 256f48fda8c410f20a28fb10c050c3f473d0a371 /src/frontend/gui/sisyphus-config.py | |
parent | d573bc65aac877cc510d8c43f5f98b54f3f3977a (diff) |
drop redundant close button, since config is applied instantly, use pressed/released signals to close the config window
Diffstat (limited to 'src/frontend/gui/sisyphus-config.py')
-rwxr-xr-x | src/frontend/gui/sisyphus-config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/gui/sisyphus-config.py b/src/frontend/gui/sisyphus-config.py index 35afccc..67e6ae8 100755 --- a/src/frontend/gui/sisyphus-config.py +++ b/src/frontend/gui/sisyphus-config.py @@ -11,8 +11,8 @@ class SisyphusConfig(QtWidgets.QMainWindow): self.MIRRORLIST = getMirrors() self.updateMirrorList() self.show() - self.closeButton.clicked.connect(self.SisyphusConfigExit) - self.applyButton.clicked.connect(self.SisyphusConfigApply) + self.applyButton.pressed.connect(self.SisyphusConfigApply) + self.applyButton.released.connect(self.SisyphusConfigExit) self.mirrorCombo.activated.connect(self.setMirrorList) def centerOnScreen(self): |