]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
AR with GD: cosmetic fix - refresh resource list
authorgdd <gdd>
Fri, 30 Jul 2010 14:13:34 +0000 (14:13 +0000)
committergdd <gdd>
Fri, 30 Jul 2010 14:13:34 +0000 (14:13 +0000)
src/genericgui/BL_GenericGui.cxx

index 2948f46c27ae574634e6f6dc761f9842c635a7d2..55e8d16f39a55c808bd64b7a0efc076038a9c596 100644 (file)
@@ -84,8 +84,12 @@ BL::GenericGui::createDockWidgets()
   connect(_model, SIGNAL(rowsRemoved(QModelIndex, int, int)), _summary, SLOT(rowsRemoved(QModelIndex, int, int)));
   connect(_model, SIGNAL(itemChanged(QStandardItem*)), _summary, SLOT(itemChanged(QStandardItem*)));
 
+  // Init at the end to be able to get jobs already in Launcher
   if (_salome_services->initNS() == false)
     DEBMSG("WARNING !!!!! SALOME IS NOT REACHABLE !!!!");
+  // refresh at the beacause we need that _salome_services be
+  // initialized
+  _resource_catalog->refresh_resource_list();
 }
 
 void