mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-22 01:05:17 +00:00
Fix MainPage being empty after first login
This commit is contained in:
parent
6442bda9b8
commit
c700f9c374
|
@ -123,13 +123,14 @@ Page {
|
|||
onStatusChanged: {
|
||||
if (status == PageStatus.Active) {
|
||||
appWindow.itemData = null
|
||||
if (!_modelsLoaded && ApiClient.authenticated) loadModels()
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: ApiClient
|
||||
onAuthenticatedChanged: {
|
||||
if (authenticated && !_modelsLoaded) loadModels();
|
||||
if (authenticated /*&& !_modelsLoaded*/) loadModels();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue