summaryrefslogtreecommitdiff
path: root/kberylsettings/settingwidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'kberylsettings/settingwidget.py')
-rw-r--r--kberylsettings/settingwidget.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kberylsettings/settingwidget.py b/kberylsettings/settingwidget.py
index 570bd9c..be641ea 100644
--- a/kberylsettings/settingwidget.py
+++ b/kberylsettings/settingwidget.py
@@ -138,8 +138,8 @@ class SettingWidget(QFrame):
"""
current = self.value()
self.initial = self.setting.ResetToDefault()
- self.setting.set(current)
self.reset()
+ self.setting.set(current)
self.initial = current
def cbText(self, widget):
@@ -905,7 +905,7 @@ class Binding(SettingWidget):
"""
skey = str(key.toString())
skey = skey.replace('Win', 'Super')
- skey = skey.replace('Ctl', 'Control')
+ skey = skey.replace('Ctrl', 'Control')
skey = skey.split('+')
if len(skey) == 1:
skey = skey[0]
@@ -1002,8 +1002,8 @@ class GrabKeyButton(KKeyButton):
@return None
"""
- dlg = KShortcutDialog(self.shortcut(), True, self)
- dlg.showButton(KShortcutDialog.Details, False)
+ dlg = KShortcutDialog(self.shortcut(), False, self)
+ dlg.showButton(KShortcutDialog.Details, False)
res = dlg.exec_loop()
if res == KShortcutDialog.Accepted:
self.emit(Signals.capturedShortcut, (dlg.shortcut(), ))