Commit 64e8b8a0 authored by Daniel Teske's avatar Daniel Teske
Browse files

Fix crash in FolderNavigationWidget

Introduced in 1ed12d39

Change-Id: I623e081a6abc80bd6926daf55fc18ab0cb400863
Reviewed-by: default avatarEike Ziller <>
Reviewed-by: default avatarBogDan Vatra <>
parent bc46e179
......@@ -211,6 +211,9 @@ void FolderNavigationWidget::setAutoSynchronization(bool sync)
void FolderNavigationWidget::setCurrentFile(Core::IEditor *editor)
if (!editor)
const QString filePath = editor->document()->filePath().toString();
// Try to find directory of current file
bool pathOpened = false;
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