diff --git a/src/qml/Main.qml b/src/qml/Main.qml index 88d72f7..0a941df 100644 --- a/src/qml/Main.qml +++ b/src/qml/Main.qml @@ -203,7 +203,7 @@ ApplicationWindow { target: book function onBookChanged() { if (!book.hasBook && window.currentPage === "reader") - window.currentPage = "starter" + window.currentPage = "history" } } diff --git a/src/qml/components/SideBar.qml b/src/qml/components/SideBar.qml index f52951a..ef435b5 100644 --- a/src/qml/components/SideBar.qml +++ b/src/qml/components/SideBar.qml @@ -55,6 +55,7 @@ Rectangle { width: ThemeManager.sidebarWidth SideBarButton { + visible: book.hasBook iconText: "\ue86d" title: "Book" onClicked: sidebar.navigateTo("reader")