diff options
Diffstat (limited to 'src/frontend/gui')
-rwxr-xr-x | src/frontend/gui/sisyphus-config.py | 4 | ||||
-rw-r--r-- | src/frontend/gui/ui/sisyphus-config.ui | 11 |
2 files changed, 2 insertions, 13 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): diff --git a/src/frontend/gui/ui/sisyphus-config.ui b/src/frontend/gui/ui/sisyphus-config.ui index dd79c1c..7d74ae4 100644 --- a/src/frontend/gui/ui/sisyphus-config.ui +++ b/src/frontend/gui/ui/sisyphus-config.ui @@ -105,17 +105,6 @@ p, li { white-space: pre-wrap; } </spacer> </item> <item> - <widget class="QPushButton" name="closeButton"> - <property name="text"> - <string>Close</string> - </property> - <property name="icon"> - <iconset theme="dialog-close"> - <normaloff>.</normaloff>.</iconset> - </property> - </widget> - </item> - <item> <widget class="QPushButton" name="applyButton"> <property name="text"> <string>Apply</string> |