This commit is contained in:
parent
bf9c6fb6a1
commit
c91da54c9c
|
@ -764,9 +764,6 @@ class MessageWindow(object):
|
||||||
old_ctrl.set_control_active(False)
|
old_ctrl.set_control_active(False)
|
||||||
|
|
||||||
new_ctrl = self._widget_to_control(notebook.get_nth_page(page_num))
|
new_ctrl = self._widget_to_control(notebook.get_nth_page(page_num))
|
||||||
if not new_ctrl:
|
|
||||||
# This event is sometimes exposed without any reason. see #5366
|
|
||||||
return
|
|
||||||
new_ctrl.set_control_active(True)
|
new_ctrl.set_control_active(True)
|
||||||
self.show_title(control = new_ctrl)
|
self.show_title(control = new_ctrl)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue