From c91da54c9ce733db2f9cdac483d9b5e76df8aeb6 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 30 Oct 2009 09:51:16 +0100 Subject: [PATCH] remove hack I did for #5366, It was most probably due to #5375. see #5366, #5375 --- src/message_window.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/message_window.py b/src/message_window.py index 1b4a8ea37..f4bf614a2 100644 --- a/src/message_window.py +++ b/src/message_window.py @@ -764,9 +764,6 @@ class MessageWindow(object): old_ctrl.set_control_active(False) 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) self.show_title(control = new_ctrl)