ABCExplorer - update when ABC changes

This commit is contained in:
Jindra Petřík
2023-09-30 22:47:54 +02:00
parent 7f6a1dfd87
commit 04d526ddeb
7 changed files with 602 additions and 548 deletions

View File

@@ -1874,12 +1874,14 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
abc.pack();
}
((Tag) abc.parentTag).setModified(true);
abc.fireChanged();
}
});
} else {
traits.traits.remove(traitIndex);
((Tag) abc.parentTag).setModified(true);
reload();
abc.fireChanged();
}
}
@@ -1992,8 +1994,9 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
decompiledTextArea.gotoTrait(traitId);
decompiledTextArea.removeScriptListener(this);
}
});
});
reload();
abc.fireChanged();
}
}