Don't expand plugins in CommandsPanel by deefault (too much space)
authorW. Trevor King <wking@drexel.edu>
Sat, 31 Jul 2010 11:49:04 +0000 (07:49 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 31 Jul 2010 11:49:04 +0000 (07:49 -0400)
hooke/ui/gui/panel/commands.py

index bf6405191d98ee57d1f3e7124a079bdb2c062cca..d7e60a78d5d45b2f2eef4df55a924784ce68dcfe 100644 (file)
@@ -80,8 +80,8 @@ class Tree (wx.TreeCtrl):
             if command.name == selected:\r
                 selected = _id\r
 \r
-        for plugin in self._plugins.values():\r
-            self.Expand(self._id_for_name[plugin.name])\r
+        #for plugin in self._plugins.values():\r
+        #    self.Expand(self._id_for_name[plugin.name])\r
         # make sure the selected command/plugin is visible in the tree\r
         if selected is not None:\r
             self.SelectItem(selected, True)\r