ui: Fixed correct location not always shown in single file code view when going back to activated edge

This commit is contained in:
Eberhard Graether
2018-01-28 23:32:37 +01:00
parent 079be93667
commit d953bcaa9d
3 changed files with 9 additions and 4 deletions
@@ -32,7 +32,6 @@ void CodeController::handleMessage(MessageActivateAll* message)
TRACE("code all");
saveOrRestoreViewMode(message);
clear();
Project* currentProject = Application::getInstance()->getCurrentProject().get();
if (!currentProject || message->acceptedNodeTypes != NodeTypeSet::all())