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())
|
if (!tabs[j].children[i].text.trim())
|
||||||
return false
|
return false
|
||||||
pyqcrm_conf[tabs[j].children[i].name] = tabs[j].children[i].text
|
pyqcrm_conf[tabs[j].children[i].name] = tabs[j].children[i].text
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class ConfigLoader(QObject):
|
|||||||
else:
|
else:
|
||||||
config_dir.mkdir(0o750, True, True)
|
config_dir.mkdir(0o750, True, True)
|
||||||
|
|
||||||
@Slot(str)
|
@Slot(dict)
|
||||||
def setConfig(self, app_config):
|
def setConfig(self, app_config):
|
||||||
pyqcrm = '[pyqcrm]\n'
|
pyqcrm = '[pyqcrm]\n'
|
||||||
db = '[database]\n'
|
db = '[database]\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user