X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_FacesPanel.cpp;h=a815c49ec9632cfb4e820515c131ceaa8ed1d9f6;hb=3e6b2df389653eb72de9e0639b87fc4511754611;hp=a5deb6d141f7e770726b51f39028c4d9c9f5576f;hpb=719c1fae8dd0e0b229b680e378bd01a3ad06e31c;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_FacesPanel.cpp b/src/XGUI/XGUI_FacesPanel.cpp index a5deb6d14..a815c49ec 100644 --- a/src/XGUI/XGUI_FacesPanel.cpp +++ b/src/XGUI/XGUI_FacesPanel.cpp @@ -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) {