]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Changing of name of Clipping Plane doesn?t influence on the its name presentation... V5_1_0_for_TC1
authordmv <dmv@opencascade.com>
Thu, 30 Oct 2008 10:27:11 +0000 (10:27 +0000)
committerdmv <dmv@opencascade.com>
Thu, 30 Oct 2008 10:27:11 +0000 (10:27 +0000)
src/VISUGUI/VisuGUI_ClippingPanel.cxx

index 676eca682c6bea8a624879520227167135d4f308..58d0a0ff5043e7e41d09110a84ded3b5090998b2 100644 (file)
@@ -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()) {