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:
2fe2f72
)
Fatal error in the Extrusion dialog
author
dmv
<dmv@opencascade.com>
Wed, 19 Nov 2008 14:07:55 +0000
(14:07 +0000)
committer
dmv
<dmv@opencascade.com>
Wed, 19 Nov 2008 14:07:55 +0000
(14:07 +0000)
src/GenerationGUI/GenerationGUI_PrismDlg.cxx
patch
|
blob
|
history
diff --git
a/src/GenerationGUI/GenerationGUI_PrismDlg.cxx
b/src/GenerationGUI/GenerationGUI_PrismDlg.cxx
index 81c7347beef88323287e6bdcc329452907b168fa..420ffe61dac069cbd7c4473f25893104c19fc0d5 100644
(file)
--- a/
src/GenerationGUI/GenerationGUI_PrismDlg.cxx
+++ b/
src/GenerationGUI/GenerationGUI_PrismDlg.cxx
@@
-476,6
+476,7
@@
void GenerationGUI_PrismDlg::SelectionIntoArgument()
QString aName = GEOMBase::GetName(aSelectedObject);
myBase = aSelectedObject;
+ myOkBase = true;
myEditCurrentArgument->setText(aName);
}
@@
-628,7
+629,7
@@
bool GenerationGUI_PrismDlg::isValid (QString&)
else if (getConstructorId() == 1)
return (myOkBase && myOkPnt1 && myOkPnt2); // by two points
else if (getConstructorId() == 2)
- return
tru
e;
+ return
myOkBas
e;
return false;
}