Fixed some exceptions when pressing a debugger related hotkey, e.g. F9.

Sat, 28 Mar 2015 21:34:40 +0100

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sat, 28 Mar 2015 21:34:40 +0100
changeset 4189
283cc9507dcd
parent 4187
61fd08bac49b
child 4191
47341b626127

Fixed some exceptions when pressing a debugger related hotkey, e.g. F9.

Debugger/DebugUI.py file | annotate | diff | comparison | revisions
--- a/Debugger/DebugUI.py	Sat Mar 28 12:11:11 2015 +0100
+++ b/Debugger/DebugUI.py	Sat Mar 28 21:34:40 2015 +0100
@@ -999,6 +999,9 @@
             self.__getThreadList()
             self.__getClientVariables()
 
+        self.debugActGrp.setEnabled(True)
+        self.debugActGrp2.setEnabled(True)
+        
     def __clientExit(self, status):
         """
         Private method to handle the debugged program terminating.
@@ -1240,10 +1243,6 @@
             vlist = [('None', '', '')]
             self.debugViewer.showVariables(vlist, False)
         
-        if scope < 1:
-            self.debugActGrp.setEnabled(True)
-            self.debugActGrp2.setEnabled(True)
-        
     def __clientVariable(self, scope, variables):
         """
         Private method to write the contents of a clients classvariable to

eric ide

mercurial