1
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:
David Rosca 2015-10-21 12:14:55 +02:00
parent 12f172c6aa
commit 37f32021df

View File

@ -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();
}
}