When there is an error connecting to an account, close only this account's pass dialog. Fixes #5586
This commit is contained in:
		
							parent
							
								
									6406a9d710
								
							
						
					
					
						commit
						5b527408bb
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -220,8 +220,7 @@ class Interface:
 | 
			
		|||
			for request in self.gpg_passphrase.values():
 | 
			
		||||
				if request:
 | 
			
		||||
					request.interrupt()
 | 
			
		||||
			# .keys() is needed because dict changes during loop
 | 
			
		||||
			for account in self.pass_dialog.keys():
 | 
			
		||||
			if account in self.pass_dialog:
 | 
			
		||||
				self.pass_dialog[account].window.destroy()
 | 
			
		||||
		if show == 'offline':
 | 
			
		||||
			# sensitivity for this menuitem
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue