Преглед на файлове

Don't change the autostart setting when starting dependent plugins.

Sascha Zelzer преди 14 години
родител
ревизия
2ddb2c43c5
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      Libs/PluginFramework/ctkPluginPrivate.cpp

+ 3 - 2
Libs/PluginFramework/ctkPluginPrivate.cpp

@@ -397,8 +397,9 @@ void ctkPluginPrivate::startDependencies()
     }
 
     // We take the first plugin in the list (highest version number)
-    // Immediately start the dependencies (no lazy activation)
-    pl.front()->start(0);
+    // Immediately start the dependencies (no lazy activation) but do not
+    // change the autostart setting of the plugin.
+    pl.front()->start(ctkPlugin::START_TRANSIENT);
   }
 }