Salome HOME
Merge branch 'master' of https://git.salome-platform.org/git/modules/hydro
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ObjComboBox.cxx
index 13c88f0555db8f0c8f7a453f594fefefa3571c44..8d2ef26ef570d45a22acaec35d8525ee7240b936 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "HYDROGUI_ObjComboBox.h"
 
-#include "HYDROGUI_Tool.h"
+#include "HYDROGUI_Tool2.h"
 #include "HYDROGUI_Module.h"
 
 #include <LightApp_Application.h>
@@ -164,6 +164,6 @@ Handle( HYDROData_Entity ) HYDROGUI_ObjComboBox::GetObject() const
   if( anIndex>=0 && anIndex<myObjects.Length() )
     return myObjects.Value( myObjects.Lower() + anIndex );
   else
-    Handle( HYDROData_Entity )();
+    return Handle( HYDROData_Entity )();
 }