Commit 10858f7a authored by Nikita Sirgienko's avatar Nikita Sirgienko

Fix dock panels tabification when Cantor load file

parent e2deaf03
Pipeline #28408 passed with stage
in 19 minutes and 32 seconds
......@@ -864,11 +864,7 @@ void CantorShell::updateBackendForPart(const QString& backend)
const QStringList& plugins = panelStatusGroup.readEntry(m_parts2Backends[m_part]).split(QLatin1Char('\n'));
m_pluginsVisibility[m_part] = plugins;
for (QDockWidget* docker : m_panels)
if (m_pluginsVisibility[m_part].contains(docker->objectName()))
docker->show();
else
docker->hide();
updatePanel();
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment