mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-24 04:32:15 -04:00
Sidebar is not hidden if the sidebar displays the readinglist
This commit is contained in:
parent
e107f2a304
commit
21e1c1145d
@ -1,3 +1,7 @@
|
||||
kiwix-desktop rc5
|
||||
=================
|
||||
* Readinglist doesn't close automatically
|
||||
|
||||
kiwix-desktop rc4
|
||||
=================
|
||||
|
||||
|
@ -274,7 +274,9 @@ void TabBar::onCurrentChanged(int index)
|
||||
emit webActionEnabledChanged(QWebEnginePage::Back, view->isWebActionEnabled(QWebEnginePage::Back));
|
||||
emit webActionEnabledChanged(QWebEnginePage::Forward, view->isWebActionEnabled(QWebEnginePage::Forward));
|
||||
emit libraryPageDisplayed(false);
|
||||
KiwixApp::instance()->setSideBar(KiwixApp::NONE);
|
||||
if (KiwixApp::instance()->getSideType() == KiwixApp::CONTENTMANAGER_BAR) {
|
||||
KiwixApp::instance()->setSideBar(KiwixApp::NONE);
|
||||
}
|
||||
QTimer::singleShot(0, [=](){emit currentTitleChanged(view->title());});
|
||||
} else {
|
||||
emit webActionEnabledChanged(QWebEnginePage::Back, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user