From: vsv Date: Thu, 19 Dec 2019 09:36:25 +0000 (+0300) Subject: Issue #3120: for non-shape selection show empty panel X-Git-Tag: V9_5_0a1~76 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9cfe18f892cb69e943e487c4ba26e0542745f1c8;p=modules%2Fshaper.git Issue #3120: for non-shape selection show empty panel --- diff --git a/src/XGUI/XGUI_InspectionPanel.cpp b/src/XGUI/XGUI_InspectionPanel.cpp index 2f2788f76..d82af6902 100644 --- a/src/XGUI/XGUI_InspectionPanel.cpp +++ b/src/XGUI/XGUI_InspectionPanel.cpp @@ -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("");