mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fix unloading plugin with visible sidebar
This commit is contained in:
parent
12f172c6aa
commit
37f32021df
@ -190,6 +190,7 @@ void SideBarManager::showSideBar(const QString &id, bool toggle)
|
||||
void SideBarManager::sideBarRemoved(const QString &id)
|
||||
{
|
||||
if (m_activeBar == id && m_sideBar) {
|
||||
m_sideBar.data()->setWidget(Q_NULLPTR);
|
||||
m_sideBar.data()->close();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user