Salome HOME
Dump Image data to python script (Feature #13).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ObjSelector.cxx
index 3b7e1e5939c0787fdcaeaf12d2e8647b84d7f221..04bd20f0c0c4d67f5386a436cfe388b0278763d3 100644 (file)
@@ -99,7 +99,12 @@ void HYDROGUI_ObjSelector::OnSelectionChanged()
   if( !anObject.IsNull() )
     anObjName = anObject->GetName();
 
-  myObjName->setText( anObjName );
+  SetName( anObjName );
+}
+
+void HYDROGUI_ObjSelector::SetName( const QString& theName )
+{
+  myObjName->setText( theName );
 }
 
 QString HYDROGUI_ObjSelector::GetName() const