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

List:       kde-commits
Subject:    KDE/kdevplatform/plugins/classbrowser
From:       David Nolden <david.nolden.kde () art-master ! de>
Date:       2009-05-29 12:51:45
Message-ID: 1243601505.974212.23796.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 974455 by zwabel:

Expand items on single-click on the name. With the lower indentation, the '+' is hard to hit.
CCBUG: 194532


 M  +5 -0      classtree.cpp  


--- trunk/KDE/kdevplatform/plugins/classbrowser/classtree.cpp #974454:974455
@@ -185,6 +185,11 @@
 
     m_plugin->core()->documentController()->openDocument(url, range.start());
   }
+  
+  if(isExpanded(index))
+      collapse(index);
+  else
+      expand(index);
 }
 
 void ClassTree::highlightIdentifier(KDevelop::IndexedQualifiedIdentifier a_id)

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

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