Salome HOME
Issue #2355 hide all faces then show solid problem
[modules/shaper.git] / src / XGUI / XGUI_FacesPanel.cpp
index a5deb6d141f7e770726b51f39028c4d9c9f5576f..a815c49ec9632cfb4e820515c131ceaa8ed1d9f6 100644 (file)
@@ -96,6 +96,12 @@ void XGUI_FacesPanel::reset(const bool isToFlushRedisplay)
   myLastItemIndex = 0; // it should be after redisplay as flag used in customize
 }
 
+//********************************************************************
+bool XGUI_FacesPanel::isEmpty() const
+{
+  return myItems.size() == 0;
+}
+
 //********************************************************************
 void XGUI_FacesPanel::selectionModes(QIntList& theModes)
 {