Recovery in Settings and start with OfferTable

This commit is contained in:
2025-03-07 11:59:51 +01:00
parent e81407b43d
commit b414a050be
13 changed files with 333 additions and 100 deletions

View File

@@ -62,18 +62,9 @@ ApplicationWindow
property alias window: appWindow
}
Component.onCompleted:
{
if(bad_config)
{
importDialog.open()
}
else
{
if (db_con) appLoader.source= "LoginScreen.qml"
else appLoader.source= "NoDbConnection.qml"
}
}
Dialog
{
@@ -127,4 +118,24 @@ ApplicationWindow
}
}
}
Component.onCompleted:
{
config.configurationReady.connect(goToLogin)
if(bad_config)
{
importDialog.open()
}
else
{
if (db_con) appLoader.source= "LoginScreen.qml"
else appLoader.source= "NoDbConnection.qml"
}
}
function goToLogin()
{
appLoader.source= "LoginScreen.qml"
topBar.visible = true
}
}