mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +05:00
Fix for "0052725: Sketcher 2D construction of rectangle type has incorrect initial values" issue
This commit is contained in:
parent
39d63c1e29
commit
cf95ec2d01
@ -632,15 +632,14 @@ void EntityGUI_SketcherDlg::RectClicked()
|
|||||||
SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
|
SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
|
||||||
|
|
||||||
GroupRect->show();
|
GroupRect->show();
|
||||||
|
|
||||||
myX1=0;
|
myX1=0;
|
||||||
myX2=10;
|
|
||||||
myY1=0;
|
|
||||||
myY2=10;
|
|
||||||
|
|
||||||
GroupRect->SpinBox_DX1->setValue(myX1);
|
GroupRect->SpinBox_DX1->setValue(myX1);
|
||||||
|
myY1=0;
|
||||||
GroupRect->SpinBox_DY1->setValue(myY1);
|
GroupRect->SpinBox_DY1->setValue(myY1);
|
||||||
|
myX2=10;
|
||||||
GroupRect->SpinBox_DX2->setValue(myX2);
|
GroupRect->SpinBox_DX2->setValue(myX2);
|
||||||
|
myY2=10;
|
||||||
GroupRect->SpinBox_DY2->setValue(myY2);
|
GroupRect->SpinBox_DY2->setValue(myY2);
|
||||||
|
|
||||||
resize( minimumSizeHint() );
|
resize( minimumSizeHint() );
|
||||||
|
Loading…
Reference in New Issue
Block a user