More fixes to removing classic preferences.
This commit is contained in:
parent
1a9eb35418
commit
71add76898
@ -530,18 +530,18 @@ def loadUserSettings(script=None, inputEvent=None, skipReloadMessage=False):
|
|||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def showPreferencesGUI(script=None, inputEvent=None):
|
def showPreferencesGUI(script=None, inputEvent=None):
|
||||||
"""Displays the user interface to configure Cthulhu and set up
|
"""Displays the user interface to configure Cthulhu and set up
|
||||||
user preferences using a GUI.
|
user preferences using a GUI.
|
||||||
|
|
||||||
Returns True to indicate the input event has been consumed.
|
Returns True to indicate the input event has been consumed.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
prefs = _settingsManager.getGeneralSettings(_settingsManager.profile)
|
prefs = _settingsManager.getGeneralSettings(_settingsManager.profile)
|
||||||
script = _scriptManager.getDefaultScript()
|
script = _scriptManager.getDefaultScript()
|
||||||
showPreferencesGUI(script, prefs)
|
_showPreferencesUI(script, prefs)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def addKeyGrab(binding):
|
def addKeyGrab(binding):
|
||||||
""" Add a key grab for the given key binding."""
|
""" Add a key grab for the given key binding."""
|
||||||
|
Loading…
Reference in New Issue
Block a user