summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-config.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-25 10:35:34 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-03-25 10:35:34 +0100
commit24f3071c58b562c5ff5cc57d7a0e97d881f43abe (patch)
tree256f48fda8c410f20a28fb10c050c3f473d0a371 /src/frontend/gui/sisyphus-config.py
parentd573bc65aac877cc510d8c43f5f98b54f3f3977a (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-xsrc/frontend/gui/sisyphus-config.py4
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):