Skip to content
Snippets Groups Projects
Commit 2ac0b52f authored by Dicson's avatar Dicson
Browse files

plugin_installer. do not select root iter if treeview have selected row

parent 9c21673a
No related branches found
No related tags found
No related merge requests found
...@@ -374,7 +374,8 @@ class PluginInstaller(GajimPlugin): ...@@ -374,7 +374,8 @@ class PluginInstaller(GajimPlugin):
def select_root_iter(self): def select_root_iter(self):
selection = self.available_treeview.get_selection() selection = self.available_treeview.get_selection()
selection.select_iter(self.available_plugins_model.get_iter_root()) if selection.count_selected_rows() == 0:
selection.select_iter(self.available_plugins_model.get_iter_root())
class Ftp(threading.Thread): class Ftp(threading.Thread):
......
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