]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #560: correct dialog title for export Strickler table operation.
authormkr <mkr@opencascade.com>
Mon, 15 Jun 2015 07:59:09 +0000 (10:59 +0300)
committermkr <mkr@opencascade.com>
Mon, 15 Jun 2015 07:59:09 +0000 (10:59 +0300)
src/HYDROGUI/HYDROGUI_StricklerTableOp.cxx

index 7cecf388b79803958b5126490607b04b0eb3d59d..7f021249af4ac11fc8a8be0fdbb1fcebf164a77d 100644 (file)
@@ -33,7 +33,8 @@ HYDROGUI_StricklerTableOp::HYDROGUI_StricklerTableOp( HYDROGUI_Module* theModule
     : HYDROGUI_Operation( theModule ), 
     myType( theType )
 {
-    setName( isEdit() ? tr( "EDIT_STRICKLER_TABLE" ) : tr( "IMPORT_STRICKLER_TABLE" ) );
+    setName( isEdit() ? tr( "EDIT_STRICKLER_TABLE" ) :
+                        ( isImport() ? tr( "IMPORT_STRICKLER_TABLE" ) : tr( "EXPORT_STRICKLER_TABLE" ) ) );
 }
 
 HYDROGUI_StricklerTableOp::~HYDROGUI_StricklerTableOp()