Slot(str) zu Slot(dict)
This commit is contained in:
Binary file not shown.
@@ -16,6 +16,7 @@ function func(tabs)
|
||||
if (!tabs[j].children[i].text.trim())
|
||||
return false
|
||||
pyqcrm_conf[tabs[j].children[i].name] = tabs[j].children[i].text
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class ConfigLoader(QObject):
|
||||
else:
|
||||
config_dir.mkdir(0o750, True, True)
|
||||
|
||||
@Slot(str)
|
||||
@Slot(dict)
|
||||
def setConfig(self, app_config):
|
||||
pyqcrm = '[pyqcrm]\n'
|
||||
db = '[database]\n'
|
||||
|
||||
Reference in New Issue
Block a user