From: ouv Date: Fri, 26 Dec 2008 12:13:56 +0000 (+0000) Subject: Fix of the bug IPAL20776 - Problem after clicking "Cancel" in the VISU presentation... X-Git-Tag: before_mergefrom_BR_V5_IMP_P8_22Jan09~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=25e655360f69883a2a7f3bbcffdeecd0d4b89f05;p=modules%2Fvisu.git Fix of the bug IPAL20776 - Problem after clicking "Cancel" in the VISU presentation dialogs --- 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); }