mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 19:04:38 +00:00
Changed #1996 Items are now exported in order of appearance in the tag tree (usually SWF order), previously was it in order of selection
This commit is contained in:
@@ -496,7 +496,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
items.addAll(folderListPanel.selectedItems.values());
|
||||
} else {
|
||||
AbstractTagTree tree = (AbstractTagTree) e.getSource();
|
||||
TreePath[] paths = tree.getSelectionPaths();
|
||||
TreePath[] paths = tree.getSelectionPathsSorted();
|
||||
if (paths != null) {
|
||||
for (TreePath treePath : paths) {
|
||||
TreeItem item = (TreeItem) treePath.getLastPathComponent();
|
||||
@@ -583,7 +583,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
items.addAll(folderListPanel.selectedItems.values());
|
||||
} else {
|
||||
AbstractTagTree tree = (AbstractTagTree) e.getSource();
|
||||
TreePath[] paths = tree.getSelectionPaths();
|
||||
TreePath[] paths = tree.getSelectionPathsSorted();
|
||||
if (paths != null) {
|
||||
for (TreePath treePath : paths) {
|
||||
TreeItem item = (TreeItem) treePath.getLastPathComponent();
|
||||
|
||||
Reference in New Issue
Block a user