From 61fbeb9fea51c476d2045f1c99e18d752960883a Mon Sep 17 00:00:00 2001 From: gdd Date: Tue, 1 Mar 2011 15:26:30 +0000 Subject: [PATCH] Now the current object(s) selected in the OB is (are) set into the widget when the button is clicked. --- src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx | 1 + src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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