Fix key error on removing account
This commit is contained in:
		
							parent
							
								
									d24bed12ce
								
							
						
					
					
						commit
						50514393f5
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1558,6 +1558,8 @@ class RosterWindow:
 | 
			
		|||
        """
 | 
			
		||||
        if not self.tree.get_model():
 | 
			
		||||
            return
 | 
			
		||||
        if account not in gajim.connections:
 | 
			
		||||
            return
 | 
			
		||||
        delimiter = gajim.connections[account].nested_group_delimiter
 | 
			
		||||
        group_splited = group.split(delimiter)
 | 
			
		||||
        i = 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue