Salome HOME
Cancel button renamed in Close and moved to the right position
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Dialog.cxx
index 04ccdf4ee5d9cd91beb44ee9d98998d624327d3f..1e1df649ca0cfa9a3b89ee5ae19f7e75c51df25c 100644 (file)
@@ -43,6 +43,8 @@ SMESHGUI_Dialog::SMESHGUI_Dialog( QWidget* parent, const bool modal,
   typeName( pr + MESH ) = tr( "DLG_MESH" );
   typeName( pr + HYPOTHESIS ) = tr( "DLG_HYPO" );
   typeName( pr + ALGORITHM ) = tr( "DLG_ALGO" );
+  if ( flags & Close )
+    setButtonPosition( Right, Close );
 }
 
 //=================================================================================