From: ouv Date: Fri, 21 Mar 2008 10:25:27 +0000 (+0000) Subject: Bug IPAL19270 : Qt4 porting. Control ?Result name? in ?Propagate? dialog box is empty... X-Git-Tag: V5_0_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d00dc3215b0efd80407ff6faf8fddc194360389d;p=modules%2Fgeom.git Bug IPAL19270 : Qt4 porting. Control ?Result name? in ?Propagate? dialog box is empty or filled by ?_1? constantly and doesn?t influence on name created entities in object browser --- diff --git a/src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx b/src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx index f968a1e9c..4f7270c09 100644 --- a/src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx +++ b/src/BlocksGUI/BlocksGUI_ExplodeDlg.cxx @@ -97,6 +97,8 @@ BlocksGUI_ExplodeDlg::~BlocksGUI_ExplodeDlg() //================================================================================= void BlocksGUI_ExplodeDlg::Init() { + mainFrame()->GroupBoxName->hide(); + // Set range of spinboxes int SpecificStep = 1; initSpinBox( myGrp1->SpinBox1, 0, 999, SpecificStep ); @@ -374,7 +376,7 @@ bool BlocksGUI_ExplodeDlg::isValid( QString& ) break; } - return false; + return ok; } //================================================================================= diff --git a/src/BlocksGUI/BlocksGUI_PropagateDlg.cxx b/src/BlocksGUI/BlocksGUI_PropagateDlg.cxx index fb2354145..e812f4a06 100644 --- a/src/BlocksGUI/BlocksGUI_PropagateDlg.cxx +++ b/src/BlocksGUI/BlocksGUI_PropagateDlg.cxx @@ -95,6 +95,7 @@ void BlocksGUI_PropagateDlg::Init() myObject = GEOM::GEOM_Object::_nil(); mainFrame()->ResultName->setText( "" ); + mainFrame()->GroupBoxName->hide(); //myGeomGUI->SetState( 0 );