mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-04 23:55:38 +05:00
Fatal error in the Extrusion dialog
This commit is contained in:
parent
2fe2f72c5a
commit
0fbe74160f
@ -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 true;
|
||||
return myOkBase;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user