Debugger/DebugUI.py

changeset 4638
38fb19230a17
parent 4631
5c1a96925da4
child 5100
2c193da9b94f
child 5122
a35aec1f4205
--- a/Debugger/DebugUI.py	Fri Jan 01 15:53:49 2016 +0100
+++ b/Debugger/DebugUI.py	Sat Jan 02 16:28:16 2016 +0100
@@ -1102,7 +1102,6 @@
         @param stackTrace list of stack entries (list of string)
         """
         self.ui.raise_()
-        self.ui.activateWindow()
         QApplication.processEvents()
         if exceptionType is None:
             E5MessageBox.critical(
@@ -1132,6 +1131,7 @@
                     self.viewmanager.setFileLine(
                         stackTrace[0][0], stackTrace[0][1], True)
             if res != E5MessageBox.No:
+                self.ui.activateWindow()
                 if Preferences.getDebugger("BreakAlways"):
                     res = E5MessageBox.Yes
                 else:

eric ide

mercurial