commit | 6a96ea584234c1f6a53709c09bd7bb1b3ec18bdc | [log] [tgz] |
---|---|---|
author | Eric Moffatt <emoffatt@ca.ibm.com> | Thu May 10 09:45:19 2012 -0400 |
committer | Eric Moffatt <emoffatt@ca.ibm.com> | Thu May 10 09:45:19 2012 -0400 |
tree | feaae5d16fdcdf049636409357f25d0b6dda1e4d | |
parent | a15c449ef4bba4421d6d46b55971b6e1a88dd7f3 [diff] |
Fix for Bug 378921 - Incorrect drag and drop behavior.
diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java index 2b60e63..b89d64d 100644 --- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java +++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java
@@ -571,7 +571,7 @@ psc.getChildren().add(0, toInsert); else psc.getChildren().add(toInsert); - } else if (relToParent instanceof MPartSashContainer + } else if (relToParent instanceof MPartSashContainer && !(relToParent instanceof MArea) && directionsMatch((MPartSashContainer) relToParent, horizontal)) { MPartSashContainer psc = (MPartSashContainer) relToParent; int relToIndex = psc.getChildren().indexOf(relTo);