[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-07-31 20:50:12
Message-ID: 1249073412.015581.18507.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1005349 by mkoller:

make the snippet tree widget show the groups expanded to make
accessing the snippets easier for the user.


 M  +4 -0      snippetwidget.cpp  


--- trunk/KDE/kdepim/kmail/snippetwidget.cpp #1005348:1005349
@@ -420,6 +420,10 @@
       group = new SnippetGroup(this, strNameVal, iIdVal);
       //kDebug() << "Created group " << group->getName() << " " << group->getId();
       _list.append(group);
+
+      // the assumption is that there are usually only a few groups/snippets, so better
+      // show them directly which makes accessing them simpler
+      group->setExpanded(true);
     }
   }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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