From 2b291340e809693f3e980bfe34c7ad91d3fd5267 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Thu, 2 Aug 2007 19:39:16 +0000 Subject: [PATCH] prepare log tab before initializing event handling - micah --- plugins/EventLogging/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/EventLogging/__init__.py b/plugins/EventLogging/__init__.py index 6037fbfc8..0a4991498 100644 --- a/plugins/EventLogging/__init__.py +++ b/plugins/EventLogging/__init__.py @@ -83,6 +83,7 @@ class EventLogging: self.viewport.show() self.scrolledWindow.show() self.tab_log = LogManager(self.viewport, self.manager) + self.tab_log.prepare_log_store() if self.config.get("enable_finished"): self.manager.connect_event(self.manager.constants['EVENT_FINISHED'], self.tab_log.handle_event) if self.config.get("enable_peer_error"): @@ -117,7 +118,6 @@ class EventLogging: self.manager.connect_event(self.manager.constants['EVENT_OTHER'], self.tab_log.handle_event) if self.config.get("enable_log_files"): self.tab_log.enable_log_files() - self.tab_log.prepare_log_store() def unload(self): self.config.save(self.config_file)