[harmattan] properly push both pages on the pagestack when starting with all feeds
This commit is contained in:
parent
b41b3bff88
commit
89d77dc0d5
1 changed files with 3 additions and 3 deletions
|
|
@ -224,6 +224,7 @@ Page {
|
|||
|
||||
categories.update()
|
||||
//Now show the categories View
|
||||
var pages = [Qt.resolvedUrl("Categories.qml")]
|
||||
if (settings.useAllFeedsOnStartup) {
|
||||
var ttrss = rootWindow.getTTRSS()
|
||||
var params = {
|
||||
|
|
@ -233,10 +234,9 @@ Page {
|
|||
unreadcount: 0
|
||||
}
|
||||
}
|
||||
rootWindow.openFile("Feeds.qml", params)
|
||||
} else {
|
||||
rootWindow.openFile("Categories.qml")
|
||||
pages.push({page: Qt.resolvedUrl("Feeds.qml"), properties: params })
|
||||
}
|
||||
pageStack.push(pages)
|
||||
}
|
||||
|
||||
//Dialog for login errors
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue