class: SimpleView
authorClaus Gittinger <cg@exept.de>
Wed, 29 May 2013 15:22:43 +0200
changeset 6070 b59176996f5e
parent 6069 e8a40616efd8
child 6071 536027b2080b
class: SimpleView changed: #openModal:inGroup: when opening a modal dialog, and raising the underlying application window, do not raise the appwindow above any other dialog (i.e. when a modalDialog is opened from a modalDialog)
SimpleView.st
--- a/SimpleView.st	Tue May 28 12:33:13 2013 +0200
+++ b/SimpleView.st	Wed May 29 15:22:43 2013 +0200
@@ -10576,7 +10576,9 @@
         device modalWindowListenersDo:[:listener | listener aboutToOpenWindow:self].
 
         mainView notNil ifTrue:[
-            mainView activate; setForegroundWindow.
+            mainView windowGroup isInModalLoop ifFalse:[
+                mainView activate; setForegroundWindow.
+            ]
         ].
     ].
 
@@ -10992,15 +10994,15 @@
 !SimpleView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.717 2013-04-25 13:10:24 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.718 2013-05-29 13:22:43 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.717 2013-04-25 13:10:24 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.718 2013-05-29 13:22:43 cg Exp $'
 !
 
 version_SVN
-    ^ '§ Id §'
+    ^ '$ Id $'
 ! !