From: dmv Date: Thu, 30 Oct 2008 10:27:11 +0000 (+0000) Subject: Changing of name of Clipping Plane doesn?t influence on the its name presentation... X-Git-Tag: V5_1_0_for_TC1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f2033ec0ce7108afdcf36d3e0f8615a3ce560ba4;p=modules%2Fvisu.git Changing of name of Clipping Plane doesn?t influence on the its name presentation on the list of the Clipping Plane panel --- 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()) {