CVS commit by cloose: Fix BR #94083: Don't crash while removing old 'Edit with...' menu item from the context menu. This can happen after the user switched tabs in Konqueror. BUG: 94083 M +7 -0 ChangeLog 1.145 M +1 -1 cervisiapart.cpp 1.158 --- kdesdk/cervisia/cervisiapart.cpp #1.157:1.158 @@ -616,5 +616,5 @@ void CervisiaPart::popupRequested(KListV { // remove old 'Edit with...' menu - if( m_editWithId ) + if( m_editWithId && popup->findItem(m_editWithId) != 0 ) { popup->removeItem(m_editWithId); --- kdesdk/cervisia/ChangeLog #1.144:1.145 @@ -1,2 +1,9 @@ +2004-11-30 Christian Loose + + * Fix BR #94083: + Don't crash while removing old 'Edit with...' menu item + from the context menu. This can happen after the user + switched tabs in Konqueror. + 2004-11-11 André Wöbbeking