Add save command
This commit is contained in:
parent
73c319a1ec
commit
1d5b0ca9a6
@ -325,6 +325,7 @@ class Config(QObject):
|
||||
self.style_changed.emit(section, option)
|
||||
self.changed.emit(section, option)
|
||||
|
||||
@cmdutils.register(instance='config')
|
||||
def save(self):
|
||||
"""Save the config file."""
|
||||
if not os.path.exists(self._configdir):
|
||||
|
Loading…
Reference in New Issue
Block a user