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

List:       kde-commits
Subject:    KDE/kdepim/kmail
From:       Martin Koller <kollix () aon ! at>
Date:       2009-08-01 19:49:40
Message-ID: 1249156180.250284.24192.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1005702 by mkoller:

Set focus on subject field when we open the composer for a mail which
has the To: field set.


 M  +2 -0      kmkernel.cpp  


--- trunk/KDE/kdepim/kmail/kmkernel.cpp #1005701:1005702
@@ -472,6 +472,8 @@
 
   KMail::Composer * cWin = KMail::makeComposer( msg );
   cWin->setCharset( "", true );
+  if (!to.isEmpty())
+    cWin->setFocusToSubject();
   KUrl::List attachURLs = KUrl::List( attachmentPaths );
   for ( KUrl::List::ConstIterator it = attachURLs.constBegin() ; it != attachURLs.constEnd() ; ++it )
     cWin->addAttach( (*it) );
[prev in list] [next in list] [prev in thread] [next in thread] 

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