Z-order component handling

This commit is contained in:
bancika
2011-01-08 10:17:01 +00:00
parent d2cc7cd214
commit 69f1e8afcd
@@ -524,6 +524,7 @@ public class Presenter implements IPlugInPort {
messageDispatcher.dispatchMessage(EventType.SELECTION_CHANGED, selectedComponents);
messageDispatcher.dispatchMessage(EventType.REPAINT);
} else {
// Take the last component, i.e. the top order component.
IDIYComponent<?> component = components.get(components.size() - 1);
// If the component under the cursor is not already selected, make
// it into the only selected component.