Fix ctrl + tab (get_control called with too much parameters)
This commit is contained in:
parent
06856c2e20
commit
65ec746e4f
|
@ -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…
Reference in New Issue