Salome HOME
IPAL52702: TC7.6.0: Incorrect large name of SMESH group in the Object Browser
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MultiEditDlg.cxx
index 018006f27c36a1f6046c0be6a9e5a8ebda637942..7498047feedc8099c9b0c744b6e6ab4463e89fde 100755 (executable)
@@ -645,6 +645,9 @@ void SMESHGUI_MultiEditDlg::onFilterAccepted()
 //=======================================================================
 bool SMESHGUI_MultiEditDlg::isIdValid (const int theId) const
 {
+  if ( !myActor )
+    return true; // filter can't work w/o actor
+
   SVTK_Selector* aSelector = SMESH::GetSelector();
   Handle(SMESHGUI_Filter) aFilter =
     Handle(SMESHGUI_Filter)::DownCast(aSelector->GetFilter(myFilterType));