#include "HYDROGUI_ObjComboBox.h"
-#include "HYDROGUI_Tool.h"
+#include "HYDROGUI_Tool2.h"
#include "HYDROGUI_Module.h"
#include <LightApp_Application.h>
for ( HYDROData_Iterator it( HYDROData_Document::Document( module()->getStudyId() ), objectType() ); it.More(); it.Next() )
{
if ( !objectFilter() || objectFilter()->isOk( it.Current() ) )
+ {
+ theObjects.Append( it.Current() );
aNames.append( it.Current()->GetName() );
+ }
}
return aNames;
}
if( anIndex>=0 && anIndex<myObjects.Length() )
return myObjects.Value( myObjects.Lower() + anIndex );
else
- Handle( HYDROData_Entity )();
+ return Handle( HYDROData_Entity )();
}