Do not try to raise transcript window if `Transcript` is not graphical
authorJan Vrany <jan.vrany@fit.cvut.cz>
Sat, 21 Sep 2019 18:31:45 +0100
changeset 185 bb863cb24c1a
parent 184 649f53564122
child 186 8110a5e2c704
Do not try to raise transcript window if `Transcript` is not graphical ...but - for instance - a `StdOut` or `StdErr`.
VDBDebuggerApplication.st
--- a/VDBDebuggerApplication.st	Fri Sep 20 21:10:36 2019 +0100
+++ b/VDBDebuggerApplication.st	Sat Sep 21 18:31:45 2019 +0100
@@ -1292,14 +1292,16 @@
 
             flasher := [ 
                 debugger announcer unsubscribe: flasher.
-                Transcript topView raise; flash.
+                Transcript isView ifTrue:[
+                    Transcript topView raise; flash.
+                ]
             ].
             debugger announcer when: GDBEventSetProcessingFinished  do: flasher    
         ].
     ]
 
     "Created: / 02-02-2018 / 11:46:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 14-12-2018 / 09:26:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 21-09-2019 / 18:30:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 onRRExitEvent: anRRExitEvent