Skip to content
Snippets Groups Projects
Commit 5357fe1b authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't crash when there is no plugin installed

parent 6b2b6440
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,9 @@ class PluginsWindow(object):
self._clear_installed_plugin_info()
self.fill_installed_plugins_model()
selection.select_iter(self.installed_plugins_model.get_iter_root())
root_iter = self.installed_plugins_model.get_iter_root()
if root_iter:
selection.select_iter(root_iter)
self.xml.connect_signals(self)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment