Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
Update main.qml
Browse files Browse the repository at this point in the history
  • Loading branch information
martonborzak committed Nov 25, 2019
1 parent aae99eb commit 035bd40
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions main.qml
Expand Up @@ -353,14 +353,13 @@ ApplicationWindow {
// loadingScreen.item.state = "loaded"; // loadingScreen.item.state = "loaded";
loader_main.item.onItemsLoadedChanged.connect(onLoadingCompleted); loader_main.item.onItemsLoadedChanged.connect(onLoadingCompleted);
} }
}


function onLoadingCompleted() { function onLoadingCompleted() {
if (loader_main.item.itemsLoaded == loader_main.item.mainNavigation.menuConfig.count) if (loader_main.item.itemsLoaded == loader_main.item.mainNavigation.menuConfig.count)
loadingScreen.item.state = "loaded"; loadingScreen.item.state = "loaded";
}
} }



//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// SECONDARY CONTAINER // SECONDARY CONTAINER
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 035bd40

Please sign in to comment.