commit | 302480cfd7efe228156609261bc102dcf5997d39 | [log] [tgz] |
---|---|---|
author | Andreas Hoegger <Andreas.Hoegger@bsiag.com> | Tue May 03 21:46:06 2016 +0200 |
committer | Andreas Hoegger <Andreas.Hoegger@bsiag.com> | Tue May 10 12:53:05 2016 +0200 |
tree | bcc06d5fe85786cd35af8e39b6dc440b9687511f | |
parent | 1af05a3c6a22a64ea666cdd289c135aeefb14ef0 [diff] |
revert Platform access to get active shell. Change-Id: I93810712842e9f771baf7434d09ea84d8799f716
diff --git a/org.eclipse.scout.rt.ui.swt/src/org/eclipse/scout/rt/ui/swt/AbstractSwtEnvironment.java b/org.eclipse.scout.rt.ui.swt/src/org/eclipse/scout/rt/ui/swt/AbstractSwtEnvironment.java index 0757d73..ed9a3de 100644 --- a/org.eclipse.scout.rt.ui.swt/src/org/eclipse/scout/rt/ui/swt/AbstractSwtEnvironment.java +++ b/org.eclipse.scout.rt.ui.swt/src/org/eclipse/scout/rt/ui/swt/AbstractSwtEnvironment.java
@@ -873,8 +873,7 @@ } public IForm findActiveForm() { - Shell activeShell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(); -// Shell activeShell = getDisplay().getActiveShell(); + Shell activeShell = getDisplay().getActiveShell(); if (activeShell == null) { return null; }