Now the current object(s) selected in the OB is (are) set into the widget when the button is clicked.

This commit is contained in:
gdd 2011-03-01 15:26:30 +00:00
parent 5613f2a33c
commit 61fbeb9fea
2 changed files with 1 additions and 1 deletions

View File

@ -153,6 +153,7 @@ void StdMeshersGUI_ObjectReferenceParamWdg::activateSelection()
connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), SLOT(onSelectionDone())); connect(mySelectionMgr, SIGNAL(currentSelectionChanged()), SLOT(onSelectionDone()));
} }
emit selectionActivated(); emit selectionActivated();
onSelectionDone();
mySelButton->setChecked( mySelectionActivated ); mySelButton->setChecked( mySelectionActivated );
} }

View File

@ -126,7 +126,6 @@ private:
QString myParamValue; QString myParamValue;
QString myEmptyText; QString myEmptyText;
QString myEmptyStyleSheet; QString myEmptyStyleSheet;
//int spacing;
}; };
#endif // STDMESHERSGUI_OBJECTREFERENCEPARAMWDG_H #endif // STDMESHERSGUI_OBJECTREFERENCEPARAMWDG_H