mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-19 06:11:53 +00:00
Fixed Items could not be edited on taglist view (for example raw edit)
This commit is contained in:
@@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
|
||||
- All "mapped" tags have character id in parenthesis in the tag tree
|
||||
- Raw editor now checks whether field value can be placed inside this kind of tag
|
||||
- Refreshing parent tags and/or timelines on raw editor save
|
||||
- Items could not be edited on taglist view (for example raw edit)
|
||||
|
||||
### Changed
|
||||
- Do not show export name (class) in DoInitAction in Tag list view instead of tag name
|
||||
|
||||
@@ -28,7 +28,6 @@ import com.jpexs.decompiler.flash.gui.generictageditors.GenericTagEditor;
|
||||
import com.jpexs.decompiler.flash.gui.generictageditors.NumberEditor;
|
||||
import com.jpexs.decompiler.flash.gui.generictageditors.StringEditor;
|
||||
import com.jpexs.decompiler.flash.gui.tagtree.AbstractTagTree;
|
||||
import com.jpexs.decompiler.flash.gui.tagtree.TagTree;
|
||||
import com.jpexs.decompiler.flash.tags.Tag;
|
||||
import com.jpexs.decompiler.flash.tags.base.ASMSource;
|
||||
import com.jpexs.decompiler.flash.tags.base.CharacterIdTag;
|
||||
|
||||
@@ -862,7 +862,7 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel
|
||||
}
|
||||
|
||||
private void editMetadataButtonActionPerformed(ActionEvent evt) {
|
||||
TreeItem item = mainPanel.tagTree.getCurrentTreeItem();
|
||||
TreeItem item = mainPanel.getCurrentTree().getCurrentTreeItem();
|
||||
if (item == null) {
|
||||
return;
|
||||
}
|
||||
@@ -891,7 +891,7 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel
|
||||
}
|
||||
|
||||
private void editGenericTagButtonActionPerformed(ActionEvent evt) {
|
||||
TreeItem item = mainPanel.tagTree.getCurrentTreeItem();
|
||||
TreeItem item = mainPanel.getCurrentTree().getCurrentTreeItem();
|
||||
if (item == null) {
|
||||
return;
|
||||
}
|
||||
@@ -970,7 +970,7 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel
|
||||
}
|
||||
|
||||
private void freeTransformPlaceTagButtonActionPerformed(ActionEvent evt) {
|
||||
TreeItem item = mainPanel.tagTree.getCurrentTreeItem();
|
||||
TreeItem item = mainPanel.getCurrentTree().getCurrentTreeItem();
|
||||
if (item == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user