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

List:       kde-commits
Subject:    branches/KDE/3.4/kdelibs/kdeui
From:       Daniel Teske <teske () squorn ! de>
Date:       2005-07-31 17:11:59
Message-ID: 1122829919.112010.16349.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 441687 by teske:

Backport fix for a crash in keditbookmarks



 M  +2 -2      klistview.cpp  


--- branches/KDE/3.4/kdelibs/kdeui/klistview.cpp #441686:441687
@@ -369,10 +369,10 @@
         QListViewItem *i=item;
         col=0;
         item=0;
-        hide(); // will call focusOutEvent, that's why we set item=0 before
+        p->setFocus();// will call focusOutEvent, that's why we set item=0 before
+        hide();
         if (commit)
             emit done(i,c);
-        i->listView()->setFocus();
     }
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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