Commit a8cf650e authored by dt's avatar dt
Browse files

Fixes a crash reported on irc

With splitted views move splitters, sometimes it crashes.
parent 37e382b3
......@@ -1657,7 +1657,9 @@ void EditorManager::showEditorInfoBar(const QString &kind,
void EditorManager::hideEditorInfoBar(const QString &kind)
{
currentEditorView()->hideEditorInfoBar(kind);
Core::Internal::EditorView *cev = currentEditorView();
if (cev)
cev->hideEditorInfoBar(kind);
}
void EditorManager::showEditorStatusBar(const QString &kind,
......
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