From 224e0c0e9548563c3780fc39ac878782c8cf7883 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 31 Jul 2010 07:49:04 -0400 Subject: [PATCH] Don't expand plugins in CommandsPanel by deefault (too much space) --- hooke/ui/gui/panel/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.26.2