diff options
author | Silenio Quarti <silenio> | 2011-05-02 19:43:07 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2011-05-02 19:43:07 +0000 |
commit | 20b46dfdfe1afbc8f0640b25a8bd15de0ea5c326 (patch) | |
tree | 37b586a27936a183230136110b30fa88a7f24a3f | |
parent | df07cfa507be0b35fe475400684d4375401d9a73 (diff) | |
download | eclipse.platform.swt-20b46dfdfe1afbc8f0640b25a8bd15de0ea5c326.tar.gz eclipse.platform.swt-20b46dfdfe1afbc8f0640b25a8bd15de0ea5c326.tar.xz eclipse.platform.swt-20b46dfdfe1afbc8f0640b25a8bd15de0ea5c326.zip |
Bug 317219 - Shell.moveAbove() should not show widget if not visible
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java index 3817c92f4e..b4f8838a71 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java @@ -1993,6 +1993,7 @@ void setZOrder () { void setZOrder (Control control, boolean above) { if (window == null) return; + if (!getVisible ()) return; if (control == null) { if (above) { window.orderFront(null); |