Prevent possible traceback when selecting a row while ServiceBrowser is still loading.
This commit is contained in:
		
							parent
							
								
									f6697682c1
								
							
						
					
					
						commit
						f72fc7f2ab
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -725,9 +725,11 @@ _('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): | ||||
| 		if self.browser: | ||||
| 			self.browser.default_action() | ||||
| 
 | ||||
| 	def on_services_treeview_selection_changed(self, widget): | ||||
| 		if self.browser: | ||||
| 			self.browser.update_actions() | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue