From 9cfe18f892cb69e943e487c4ba26e0542745f1c8 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 19 Dec 2019 12:36:25 +0300 Subject: [PATCH] Issue #3120: for non-shape selection show empty panel --- src/XGUI/XGUI_InspectionPanel.cpp | 1 + 1 file changed, 1 insertion(+) 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(""); -- 2.39.2