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
27192719 setDisplayPlugin(defaultDisplayPlugin);
27202720
27212721 // Now set the desired plugin if it's not the same as the default plugin
2722− if (targetDisplayPlugin != defaultDisplayPlugin) {
2722+ if (!targetDisplayPlugin && (targetDisplayPlugin != defaultDisplayPlugin)) {
27232723 setDisplayPlugin(targetDisplayPlugin);
27242724 }
27252725