Login, user in datenbank und encryption key
This commit is contained in:
@@ -45,7 +45,6 @@ Item
|
||||
firstStart.push("AdminUserConfig.qml")
|
||||
}
|
||||
|
||||
|
||||
MessageDialog
|
||||
{
|
||||
id: conErrDialog
|
||||
@@ -62,7 +61,13 @@ Item
|
||||
title: qsTr("Encryption Key")
|
||||
anchors.centerIn: parent
|
||||
standardButtons: Dialog.Ok | Dialog.Cancel
|
||||
onAccepted: config.setEncyrptKey(encryptPassword.text)
|
||||
onAccepted:
|
||||
{
|
||||
// TODO: signal for EncryptionKey testing
|
||||
config.setEncyrptKey(encryptPassword.text)
|
||||
appLoader.source = "Dashboard.qml"
|
||||
topBar.visible = true
|
||||
}
|
||||
ColumnLayout
|
||||
{
|
||||
RowLayout
|
||||
@@ -89,6 +94,7 @@ Item
|
||||
id: firstStart
|
||||
anchors.fill: parent
|
||||
initialItem: "DbConfiguration.qml"
|
||||
//initialItem: "AdminUserConfig.qml"
|
||||
}
|
||||
RowLayout
|
||||
{
|
||||
@@ -126,7 +132,7 @@ Item
|
||||
pyqcrm_conf = Qmldict.func(submitBtn.grids)
|
||||
if (pyqcrm_conf)
|
||||
{
|
||||
admin = config.setConfig(pyqcrm_conf)
|
||||
config.setConfig(pyqcrm_conf)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user