From f03900b15d8c74fd8f6a8535449771f518b7506e Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 30 Jul 2010 14:13:34 +0000 Subject: [PATCH] AR with GD: cosmetic fix - refresh resource list --- src/genericgui/BL_GenericGui.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/genericgui/BL_GenericGui.cxx b/src/genericgui/BL_GenericGui.cxx index 2948f46..55e8d16 100644 --- a/src/genericgui/BL_GenericGui.cxx +++ b/src/genericgui/BL_GenericGui.cxx @@ -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 -- 2.39.2