diff options
Diffstat (limited to 'qml/tapasboard')
-rw-r--r-- | qml/tapasboard/BoardPage.qml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/qml/tapasboard/BoardPage.qml b/qml/tapasboard/BoardPage.qml index 57d362d..4aeba79 100644 --- a/qml/tapasboard/BoardPage.qml +++ b/qml/tapasboard/BoardPage.qml @@ -69,10 +69,17 @@ Page { } onClicked: { - pageStack.push(Qt.resolvedUrl("ForumPage.qml"), { - boardUrl: boardPage.boardUrl, - forumId: model.forumId - }); + if (model.subOnly) { + pageStack.push(Qt.resolvedUrl("BoardPage.qml"), { + boardUrl: boardPage.boardUrl, + rootForumId: model.forumId + }); + } else { + pageStack.push(Qt.resolvedUrl("ForumPage.qml"), { + boardUrl: boardPage.boardUrl, + forumId: model.forumId + }); + } } } } |