From 09bc453fb0ad881d9ddd11722a97c275f9b5de07 Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Tue, 1 Dec 2015 15:12:04 +0100 Subject: [PATCH] logic: Fixed graph view style settings not loaded correctly when project has errors --- src/lib/Application.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/Application.cpp b/src/lib/Application.cpp index 775db6be..6200fbb0 100644 --- a/src/lib/Application.cpp +++ b/src/lib/Application.cpp @@ -75,6 +75,7 @@ void Application::loadProject(const FilePath& projectSettingsFilePath) { MessageStatus("Loading Project: " + projectSettingsFilePath.str()).dispatch(); + loadSettings(); updateRecentProjects(projectSettingsFilePath); m_mainView->setTitle( @@ -136,8 +137,6 @@ void Application::handleMessage(MessageLoadProject* message) void Application::handleMessage(MessageRefresh* message) { - loadSettings(); - if (message->uiOnly) { m_componentManager->refreshViews();