Add save command

This commit is contained in:
Florian Bruhin 2014-04-15 17:28:14 +02:00
parent 73c319a1ec
commit 1d5b0ca9a6

View File

@ -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):