mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Select All should not include locked components
This commit is contained in:
+3
-1
@@ -585,7 +585,9 @@ public class Presenter implements IPlugInPort {
|
||||
@Override
|
||||
public void selectAll() {
|
||||
LOG.info("selectAll()");
|
||||
updateSelection(new ArrayList<IDIYComponent<?>>(currentProject.getComponents()));
|
||||
List<IDIYComponent<?>> newSelection = new ArrayList<IDIYComponent<?>>(currentProject.getComponents());
|
||||
newSelection.removeAll(getLockedComponents());
|
||||
updateSelection(newSelection);
|
||||
// messageDispatcher.dispatchMessage(EventType.SELECTION_CHANGED,
|
||||
// selectedComponents);
|
||||
// messageDispatcher.dispatchMessage(EventType.SELECTION_SIZE_CHANGED,
|
||||
|
||||
@@ -386,6 +386,10 @@
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Increased PNG export resolution to 300dpi</description>
|
||||
</com.diyfever.gui.update.Change>
|
||||
<com.diyfever.gui.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Select All should not include locked components</description>
|
||||
</com.diyfever.gui.update.Change>
|
||||
</changes>
|
||||
<url>http://code.google.com/p/diy-layout-creator/downloads/list</url>
|
||||
</com.diyfever.gui.update.Version>
|
||||
|
||||
Reference in New Issue
Block a user