Fix ctrl + tab (get_control called with too much parameters)
This commit is contained in:
		
							parent
							
								
									06856c2e20
								
							
						
					
					
						commit
						65ec746e4f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -623,7 +623,7 @@ class MessageWindow(object):
 | 
				
			||||||
				ind = ind - 1
 | 
									ind = ind - 1
 | 
				
			||||||
				if ind < 0:
 | 
									if ind < 0:
 | 
				
			||||||
					ind = self.notebook.get_n_pages() - 1
 | 
										ind = self.notebook.get_n_pages() - 1
 | 
				
			||||||
			ctrl = self.get_control(ind, None, None)
 | 
								ctrl = self.get_control(ind, None)
 | 
				
			||||||
			if ctrl.get_nb_unread() > 0:
 | 
								if ctrl.get_nb_unread() > 0:
 | 
				
			||||||
				found = True
 | 
									found = True
 | 
				
			||||||
				break # found
 | 
									break # found
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue