Fix NewConfigManager.get_str
This commit is contained in:
parent
5e4675b34a
commit
5081e4f201
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user