From: W. Trevor King Date: Sat, 31 Jul 2010 11:49:04 +0000 (-0400) Subject: Don't expand plugins in CommandsPanel by deefault (too much space) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=224e0c0e9548563c3780fc39ac878782c8cf7883;p=hooke.git Don't expand plugins in CommandsPanel by deefault (too much space) --- diff --git a/hooke/ui/gui/panel/commands.py b/hooke/ui/gui/panel/commands.py index bf64051..d7e60a7 100644 --- a/hooke/ui/gui/panel/commands.py +++ b/hooke/ui/gui/panel/commands.py @@ -80,8 +80,8 @@ class Tree (wx.TreeCtrl): if command.name == selected: selected = _id - for plugin in self._plugins.values(): - self.Expand(self._id_for_name[plugin.name]) + #for plugin in self._plugins.values(): + # self.Expand(self._id_for_name[plugin.name]) # make sure the selected command/plugin is visible in the tree if selected is not None: self.SelectItem(selected, True)