From: ouv Date: Tue, 8 Apr 2008 08:39:39 +0000 (+0000) Subject: Bug IPAL19475 - QT4 porting: exception on display of geometry creating a mesh X-Git-Tag: V5_0_0~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8017efee4b719c63b52a7698aa6db7619fa1176b;p=modules%2Fgui.git Bug IPAL19475 - QT4 porting: exception on display of geometry creating a mesh --- diff --git a/src/SUIT/SUIT_Study.cxx b/src/SUIT/SUIT_Study.cxx index cc0531a80..fec0b6a4f 100755 --- a/src/SUIT/SUIT_Study.cxx +++ b/src/SUIT/SUIT_Study.cxx @@ -246,8 +246,9 @@ SUIT_Operation* SUIT_Study::blockingOperation( SUIT_Operation* theOp ) const return 0; Operations tmpOps( myOperations ); - for ( Operations::const_iterator it = tmpOps.end(); it != tmpOps.begin(); --it ) + for ( Operations::const_iterator it = tmpOps.end(); it != tmpOps.begin(); ) { + it--; SUIT_Operation* anOp = *it; if ( anOp != 0 && anOp!= theOp && !anOp->isValid( theOp ) ) return anOp;