From: ana Date: Fri, 8 May 2015 12:48:37 +0000 (+0300) Subject: Fix for "0052725: Sketcher 2D construction of rectangle type has incorrect initial... X-Git-Tag: V7_6_0rc1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf95ec2d01057b91831ca7ddab2a198a92ddc80c;p=modules%2Fgeom.git Fix for "0052725: Sketcher 2D construction of rectangle type has incorrect initial values" issue --- diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx index 29af40921..f489c89c2 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_SketcherDlg.cxx @@ -632,15 +632,14 @@ void EntityGUI_SketcherDlg::RectClicked() SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) ); GroupRect->show(); - + myX1=0; - myX2=10; - myY1=0; - myY2=10; - GroupRect->SpinBox_DX1->setValue(myX1); + myY1=0; GroupRect->SpinBox_DY1->setValue(myY1); + myX2=10; GroupRect->SpinBox_DX2->setValue(myX2); + myY2=10; GroupRect->SpinBox_DY2->setValue(myY2); resize( minimumSizeHint() );