Commit 0290ac8a authored by eric pellegrini's avatar eric pellegrini
Browse files

The plugins are now sorted in the plugins tree panel

parent d9d7b09f
...@@ -410,7 +410,7 @@ or directly to the MDANSE mailing list: ...@@ -410,7 +410,7 @@ or directly to the MDANSE mailing list:
def on_toggle_toolbar(self, event=None): def on_toggle_toolbar(self, event=None):
if self.GetToolBar(): if self.GetToolBar():
self._toolbar.Hide() self._toolbar.Hide()
self.SetToolBar(None) self.SetToolBar(None)
else: else:
self.SetToolBar(self._toolbar) self.SetToolBar(self._toolbar)
...@@ -143,7 +143,7 @@ class PluginsTreePanel(wx.Panel): ...@@ -143,7 +143,7 @@ class PluginsTreePanel(wx.Panel):
self._tree.AppendItem(node, "No plugins available") self._tree.AppendItem(node, "No plugins available")
return return
for k, v in data.items(): for k, v in sorted(data.items()):
plugin = REGISTRY["plugin"].get(k, None) plugin = REGISTRY["plugin"].get(k, None)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment