From: dmv Date: Wed, 19 Nov 2008 14:07:55 +0000 (+0000) Subject: Fatal error in the Extrusion dialog X-Git-Tag: V5_1_0rc2~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0fbe74160f96c0a59b16b739bd931633a353d8c5;p=modules%2Fgeom.git Fatal error in the Extrusion dialog --- diff --git a/src/GenerationGUI/GenerationGUI_PrismDlg.cxx b/src/GenerationGUI/GenerationGUI_PrismDlg.cxx index 81c7347be..420ffe61d 100644 --- 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 true; + return myOkBase; return false; }