]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3120: for non-shape selection show empty panel
authorvsv <vsv@opencascade.com>
Thu, 19 Dec 2019 09:36:25 +0000 (12:36 +0300)
committervsv <vsv@opencascade.com>
Thu, 19 Dec 2019 09:36:25 +0000 (12:36 +0300)
src/XGUI/XGUI_InspectionPanel.cpp

index 2f2788f762d8e356ce8254e9d644f9a6838fb895..d82af690252fb778b08f9540b02d167e7897cb51 100644 (file)
@@ -229,6 +229,7 @@ void XGUI_InspectionPanel::setSubShapeValue(SudShape theId, int theVal)
 //********************************************************************
 void XGUI_InspectionPanel::clearContent()
 {
+  myStackWgt->setCurrentIndex(myFeaturePanelId);
   setName("");
   for (int i = 0; i <= VertexId; i++) {
     mySubShapesTab->item((SudShape)i, 1)->setText("");