From dc49d9d372f24a3b7cc0011045fca8d58345993e Mon Sep 17 00:00:00 2001 From: jsargiot Date: Mon, 29 Apr 2013 09:25:30 -0300 Subject: [PATCH] Fix problem with Ninja initialize with debugger-plugin. --- debugger_plugin/Debugger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debugger_plugin/Debugger.py b/debugger_plugin/Debugger.py index 862a43a..1b9c0a2 100644 --- a/debugger_plugin/Debugger.py +++ b/debugger_plugin/Debugger.py @@ -56,7 +56,6 @@ def initialize(self): self.logger.info("Initializing plugin.") # Basic services - self.ide = ninja_ide.gui.ide.IDE() self.editor = self.locator.get_service('editor') self.toolbar = self.locator.get_service('toolbar') self.menuApp = self.locator.get_service('menuApp') @@ -92,6 +91,7 @@ def debug_start(self, fn_run): """ self.logger.info("Session start.") # Activate the UI elements (watches widget, threads, etc) + self.ide = ninja_ide.gui.ide.IDE() self._activate_ui() try: # Add environment variable to be able to debug django projects