From: gdd Date: Tue, 1 Mar 2011 15:26:30 +0000 (+0000) Subject: Now the current object(s) selected in the OB is (are) set into the widget when the... X-Git-Tag: StartingPortingMED3~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=61fbeb9fea51c476d2045f1c99e18d752960883a;p=modules%2Fsmesh.git Now the current object(s) selected in the OB is (are) set into the widget when the button is clicked. --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx index 2d5b87f55..faaa1028d 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx @@ -153,6 +153,7 @@ void StdMeshersGUI_ObjectReferenceParamWdg::activateSelection() connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), SLOT(onSelectionDone())); } emit selectionActivated(); + onSelectionDone(); mySelButton->setChecked( mySelectionActivated ); } diff --git a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h index 49b41ac9c..6536d90c2 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h +++ b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h @@ -126,7 +126,6 @@ private: QString myParamValue; QString myEmptyText; QString myEmptyStyleSheet; - //int spacing; }; #endif // STDMESHERSGUI_OBJECTREFERENCEPARAMWDG_H