Fixed a bug in the debug viewer causing some items being shown multiple times.

Mon, 17 Jun 2013 19:33:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 17 Jun 2013 19:33:10 +0200
changeset 2723
f6ad272bf486
parent 2722
1c5df42d94bf
child 2725
bc9f4da12c0e

Fixed a bug in the debug viewer causing some items being shown multiple times.

Debugger/DebugViewer.py file | annotate | diff | comparison | revisions
diff -r 1c5df42d94bf -r f6ad272bf486 Debugger/DebugViewer.py
--- a/Debugger/DebugViewer.py	Mon Jun 17 18:57:32 2013 +0200
+++ b/Debugger/DebugViewer.py	Mon Jun 17 19:33:10 2013 +0200
@@ -386,6 +386,7 @@
         @param stack list of tuples with call stack data (file name, line number,
             function name, formatted argument/values list)
         """
+        block = self.stackComboBox.blockSignals(True)
         self.framenr = 0
         self.stackComboBox.clear()
         self.currentStack = stack
@@ -394,6 +395,7 @@
             # just show base filename to make it readable
             s = (os.path.basename(s[0]), s[1], s[2])
             self.stackComboBox.addItem('{0}:{1}:{2}'.format(*s))
+        self.stackComboBox.blockSignals(block)
         
     def setVariablesFilter(self, globalsFilter, localsFilter):
         """

eric ide

mercurial