From f2033ec0ce7108afdcf36d3e0f8615a3ce560ba4 Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 30 Oct 2008 10:27:11 +0000 Subject: [PATCH] Changing of name of Clipping Plane doesn?t influence on the its name presentation on the list of the Clipping Plane panel --- src/VISUGUI/VisuGUI_ClippingPanel.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/VISUGUI/VisuGUI_ClippingPanel.cxx b/src/VISUGUI/VisuGUI_ClippingPanel.cxx index 676eca68..58d0a0ff 100644 --- a/src/VISUGUI/VisuGUI_ClippingPanel.cxx +++ b/src/VISUGUI/VisuGUI_ClippingPanel.cxx @@ -632,6 +632,8 @@ void VisuGUI_ClippingPanel::onPlaneEdited() if (aPlane->isAuto()) { aItem->setCheckState(Qt::Checked); aItem->setFlags(0); + QString name = aPlane->getName().c_str(); + aItem->setText(name); // _PTR(Study) aStudy = VISU::GetCStudy( VISU::GetAppStudy( myModule ) ); // _PTR(ChildIterator) aIter = aStudy->NewChildIterator(aPlaneSObj); // for (; aIter->More(); aIter->Next()) { -- 2.39.2