Do not double-click edit scripts

This commit is contained in:
Jindra Petřík
2022-12-17 17:21:02 +01:00
parent 4ddba88972
commit 18a8b3ddaa

View File

@@ -5588,6 +5588,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
previewPanel.startEditFontTag();
} else if (treeItem instanceof TextTag) {
previewPanel.startEditTextTag();
} else if (treeItem instanceof ASMSource) {
//There are two kinds of edit - Script and P-code.
} else if (treeItem instanceof Tag) {
Tag tag = (Tag)treeItem;
previewPanel.showGenericTagPanel(tag);