History

Fixing a bug if the last session display pluginis an invalid name, resolve to default

Sam Gateau committed 8 years ago

Commit d543cd01 parent a5919ee1 file · +1 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -2719,7 +2719,7 @@ void Application::initializeDisplayPlugins() { · 2718 unmodified lines
2719 setDisplayPlugin(defaultDisplayPlugin);2719 setDisplayPlugin(defaultDisplayPlugin);
2720 2720
2721 // Now set the desired plugin if it's not the same as the default plugin2721 // Now set the desired plugin if it's not the same as the default plugin
2722 if (targetDisplayPlugin != defaultDisplayPlugin) {2722 if (!targetDisplayPlugin && (targetDisplayPlugin != defaultDisplayPlugin)) {
2723 setDisplayPlugin(targetDisplayPlugin);2723 setDisplayPlugin(targetDisplayPlugin);
2724 }2724 }
2725 2725