From 17b06165993e2e4eb631528e64abe97a3ba7fcdb Mon Sep 17 00:00:00 2001 From: Rafael Laverde Date: Mon, 23 Jan 2017 08:31:27 -0500 Subject: [PATCH] Fix error uninitialized variable previous_focused_widget in mainwindow --- spyder/app/mainwindow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index e08b95cc346..23761a12598 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -486,6 +486,7 @@ def signal_handler(signum, frame=None): # To keep track of the last focused widget self.last_focused_widget = None + self.previous_focused_widget = None # Server to open external files on a single instance self.open_files_server = socket.socket(socket.AF_INET,