]> Creatis software - cpPlugins.git/blobdiff - lib/cpBaseQtApplication/MainWindow.cxx
...
[cpPlugins.git] / lib / cpBaseQtApplication / MainWindow.cxx
index f8ac71ad118762a584da6459736ac0587d0a94db..60cdc20ad5913d68ee0f9da041bd38410dc5bf37 100644 (file)
@@ -71,6 +71,7 @@ MainWindow( int argc, char* argv[], QApplication* app, QWidget* parent )
   // Get the plugins interface
   this->m_Plugins = TPlugins::New( );
   try { this->m_Plugins->AddEnvironments( env.str( ) ); } catch( ... ) { }
+  try { this->m_Plugins->LoadPaths( this->m_RunPath ); } catch( ... ) { }
   this->updateEnvironment( );
   try { this->m_Plugins->SavePaths( this->m_RunPath ); } catch( ... ) { }