Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d63c1
)
Fix for "0052725: Sketcher 2D construction of rectangle type has incorrect initial...
author
ana
<ana@opencascade.com>
Fri, 8 May 2015 12:48:37 +0000
(15:48 +0300)
committer
ana
<ana@opencascade.com>
Fri, 8 May 2015 12:48:37 +0000
(15:48 +0300)
src/EntityGUI/EntityGUI_SketcherDlg.cxx
patch
|
blob
|
history
diff --git
a/src/EntityGUI/EntityGUI_SketcherDlg.cxx
b/src/EntityGUI/EntityGUI_SketcherDlg.cxx
index 29af40921bc49591ebc0ef979b609c346d0236bf..f489c89c2e029bc718fbfe6847c2e44a7f2c6227 100644
(file)
--- 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() );