mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
SideBarManager: Clear active sidebar upon close
BUG: 406724 FIXED-IN: 3.1.1
This commit is contained in:
parent
92721449c0
commit
f38265230d
@ -166,6 +166,10 @@ void SideBarManager::showSideBar(const QString &id, bool toggle)
|
||||
|
||||
if (!m_sideBar) {
|
||||
m_sideBar = m_window->addSideBar();
|
||||
connect(m_sideBar, &QObject::destroyed, this, [this]() {
|
||||
m_activeBar.clear();
|
||||
m_window->saveSideBarSettings();
|
||||
});
|
||||
}
|
||||
|
||||
if (id == m_activeBar) {
|
||||
|
Loading…
Reference in New Issue
Block a user