mirror of
https://github.com/lubosz/overte.git
synced 2025-04-15 17:20:29 +02:00
Merge pull request #13530 from samcake/punk
Really add safe check for targetDisplayPLugin
This commit is contained in:
commit
61005d456b
1 changed files with 1 additions and 1 deletions
|
@ -2722,7 +2722,7 @@ void Application::initializeDisplayPlugins() {
|
|||
setDisplayPlugin(defaultDisplayPlugin);
|
||||
|
||||
// Now set the desired plugin if it's not the same as the default plugin
|
||||
if (!targetDisplayPlugin && (targetDisplayPlugin != defaultDisplayPlugin)) {
|
||||
if (targetDisplayPlugin && (targetDisplayPlugin != defaultDisplayPlugin)) {
|
||||
setDisplayPlugin(targetDisplayPlugin);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue