From 25e655360f69883a2a7f3bbcffdeecd0d4b89f05 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 26 Dec 2008 12:13:56 +0000 Subject: [PATCH] Fix of the bug IPAL20776 - Problem after clicking "Cancel" in the VISU presentation dialogs --- src/VISUGUI/VisuGUI_ClippingPanel.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_ClippingPanel.cxx b/src/VISUGUI/VisuGUI_ClippingPanel.cxx index 472170fd..3839330d 100644 --- a/src/VISUGUI/VisuGUI_ClippingPanel.cxx +++ b/src/VISUGUI/VisuGUI_ClippingPanel.cxx @@ -312,7 +312,8 @@ void VisuGUI_ClippingPanel::fillPrsList() QStringList aNames; for (int i = 0; i < myPresentations.size(); i++) { - aNames.append(getPrsName(getPrs(myPresentations.at(i)))); + if (VISU::Prs3d_i* aPrs = getPrs(myPresentations.at(i))) + aNames.append(getPrsName(aPrs)); } myPrsList->addItems(aNames); } -- 2.39.2