From 0fbe74160f96c0a59b16b739bd931633a353d8c5 Mon Sep 17 00:00:00 2001 From: dmv Date: Wed, 19 Nov 2008 14:07:55 +0000 Subject: [PATCH] Fatal error in the Extrusion dialog --- src/GenerationGUI/GenerationGUI_PrismDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.2