From: apo Date: Tue, 31 May 2005 14:19:33 +0000 (+0000) Subject: Fix RemoveIObject method X-Git-Tag: T3_0_0_a1~58 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ebafd4d968583f9d71231ed0f5f2f8f102c9eeef;p=modules%2Fgui.git Fix RemoveIObject method *** Abort *** an exception was raised, but no catch was found. ... The exception is:0x40efb11b : Standard_NoMoreObject: TCollection_ListIteratorOfList --- diff --git a/src/SVTK/SVTK_Selector.cxx b/src/SVTK/SVTK_Selector.cxx index 63a28eab0..cacf00081 100644 --- a/src/SVTK/SVTK_Selector.cxx +++ b/src/SVTK/SVTK_Selector.cxx @@ -137,6 +137,7 @@ SVTK_Selector myMapIOSubIndex.UnBind(theIO); myIObjects.Remove(anIter); anIsIOBound = true; + break; } } @@ -164,6 +165,7 @@ SVTK_Selector myMapIOSubIndex.UnBind(anIO); myIObjects.Remove(anIter); anIsIOBound = true; + break; } }