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

List:       kde-commits
Subject:    branches/KDE/4.3/kdepim/kmail
From:       Martin Koller <kollix () aon ! at>
Date:       2009-08-27 20:41:30
Message-ID: 1251405690.651214.16312.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1016458 by mkoller:

Backport r1016457 by mkoller from trunk to the 4.3 branch:

CCBUG: 186162

when selecting a mail in the "Find Messages" window, correctly update
the selection in the message list.



 M  +1 -9      kmmainwidget.cpp  


--- branches/KDE/4.3/kdepim/kmail/kmmainwidget.cpp #1016457:1016458
@@ -3147,15 +3147,7 @@
 //-----------------------------------------------------------------------------
 void KMMainWidget::slotSelectMessage(KMMessage* msg)
 {
-  int idx = mFolder->find(msg);
-  if (idx != -1) {
-#if 0
-    // FIXME (Pragma)
-    mHeaders->setCurrentMsg(idx);
-#endif
-    if (mMsgView)
-      mMsgView->setMsg(msg);
-  }
+  mMessageListView->activateMessage( msg );
 }
 
 //-----------------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread] 

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