Fix NewConfigManager.get_str

This commit is contained in:
Florian Bruhin 2017-06-19 13:00:10 +02:00
parent 5e4675b34a
commit 5081e4f201

View File

@ -252,7 +252,8 @@ class NewConfigManager(QObject):
def get_str(self, name):
opt = self.get_opt(name)
return opt.typ.to_str(opt.default)
value = self._values.get(name, opt.default)
return opt.typ.to_str(value)
def set(self, name, value):
# FIXME:conf stub