mirror of https://github.com/KDE/kasts.git
Ensure that currentPage is set on first run
This commit is contained in:
parent
c0410506d1
commit
40c3a5138c
|
@ -55,7 +55,10 @@ Kirigami.ApplicationWindow {
|
||||||
case "FeedListPage": return "qrc:/FeedListPage.qml";
|
case "FeedListPage": return "qrc:/FeedListPage.qml";
|
||||||
case "DownloadListPage": return "qrc:/DownloadListPage.qml";
|
case "DownloadListPage": return "qrc:/DownloadListPage.qml";
|
||||||
case "SettingsPage": return "qrc:/Settings/SettingsPage.qml";
|
case "SettingsPage": return "qrc:/Settings/SettingsPage.qml";
|
||||||
default: return "qrc:/FeedListPage.qml";
|
default: {
|
||||||
|
currentPage = "FeedListPage";
|
||||||
|
return "qrc:/FeedListPage.qml";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function pushPage(page) {
|
function pushPage(page) {
|
||||||
|
|
Loading…
Reference in New Issue