Skip to content
Snippets Groups Projects
Commit f72fc7f2 authored by steve-e's avatar steve-e
Browse files

Prevent possible traceback when selecting a row while ServiceBrowser is still loading.

parent f6697682
No related branches found
No related tags found
No related merge requests found
......@@ -725,10 +725,12 @@ _('This type of service does not contain any items to browse.'))
self.travel(jid, '')
def on_services_treeview_row_activated(self, widget, path, col = 0):
self.browser.default_action()
if self.browser:
self.browser.default_action()
def on_services_treeview_selection_changed(self, widget):
self.browser.update_actions()
if self.browser:
self.browser.update_actions()
class AgentBrowser:
......
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