mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Fixing a bug if the last session display pluginis an invalid name, resolve to default
This commit is contained in:
parent
a5919ee3fa
commit
d543cd0766
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue