mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -04:00
Emit TabBar::libraryPageDisplayed(false) when creating settings view
This commit is contained in:
parent
0bf67a99b8
commit
d5f5c66528
@ -63,6 +63,7 @@ TabBar::TabBar(QWidget *parent) :
|
||||
}
|
||||
int index = currentIndex() + 1;
|
||||
mp_stackedWidget->insertWidget(index, view);
|
||||
emit libraryPageDisplayed(false);
|
||||
insertTab(index,QIcon(":/icons/settings.svg"), gt("settings"));
|
||||
QToolButton *tb = new QToolButton(this);
|
||||
tb->setDefaultAction(KiwixApp::instance()->getAction(KiwixApp::CloseTabAction));
|
||||
|
Loading…
x
Reference in New Issue
Block a user