From d543cd07668dc543ebd4e6ec1b7bb48bd201f74f Mon Sep 17 00:00:00 2001 From: Sam Gateau Date: Fri, 29 Jun 2018 15:42:19 +0200 Subject: [PATCH] Fixing a bug if the last session display pluginis an invalid name, resolve to default --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index a60d72073c..9c262c1980 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2719,7 +2719,7 @@ void Application::initializeDisplayPlugins() { setDisplayPlugin(defaultDisplayPlugin); // Now set the desired plugin if it's not the same as the default plugin - if (targetDisplayPlugin != defaultDisplayPlugin) { + if (!targetDisplayPlugin && (targetDisplayPlugin != defaultDisplayPlugin)) { setDisplayPlugin(targetDisplayPlugin); }