[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesdk/cervisia
From:       Christian Loose <christian.loose () hamburg ! de>
Date:       2004-11-30 21:49:26
Message-ID: 20041130214926.424CE1BAE7 () office ! kde ! org
[Download RAW message or body]

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  <christian.loose@kdemail.net>
+
+        * 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  <Woebbeking@web.de>
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic