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

List:       kde-commits
Subject:    [kdepim] 5876115: Set the initial focus to the recipients editor.
From:       Till Adam <till () kdab ! com>
Date:       2010-12-30 20:34:22
Message-ID: 20101230203422.A897FA6090 () git ! kde ! org
[Download RAW message or body]

commit 5876115d38fd010e8e9aaeed22af0c7cb434e51a
branch master
Author: Till Adam <till@kdab.com>
Date:   Thu Dec 30 21:33:25 2010 +0100

    Set the initial focus to the recipients editor.
    
    This was changed to focus the idenity combo, as part of refactoring
    in 18cc0226. Probably accidentally, since there's no rationale given
    or apparent of the change.

diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp
index 76595b5..06013b2 100644
--- a/kmail/kmcomposewin.cpp
+++ b/kmail/kmcomposewin.cpp
@@ -442,7 +442,7 @@ KMComposeWin::KMComposeWin( const KMime::Message::Ptr &aMsg, Composer::TemplateC
     setMsg( aMsg );
   }
 
-  mComposerBase->identityCombo()->setFocus();
+  mComposerBase->recipientsEditor()->setFocus();
   editor->updateActionStates(); // set toolbar buttons to correct values
 
   mDone = true;
[prev in list] [next in list] [prev in thread] [next in thread] 

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