mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 22:30:45 +00:00
tag editor: cancel editing fix
This commit is contained in:
@@ -356,15 +356,13 @@ public class View {
|
||||
public static SubstanceColorScheme getColorScheme() {
|
||||
return SubstanceColorSchemeUtilities.getActiveColorScheme(new JButton(), ComponentState.ENABLED);
|
||||
}
|
||||
|
||||
public static void refreshTree(JTree tree,TreeModel model) {
|
||||
|
||||
public static void refreshTree(JTree tree, TreeModel model) {
|
||||
List<List<String>> expandedNodes = getExpandedNodes(tree);
|
||||
tree.setModel(model);
|
||||
expandTreeNodes(tree, expandedNodes);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private static List<List<String>> getExpandedNodes(JTree tree) {
|
||||
List<List<String>> expandedNodes = new ArrayList<>();
|
||||
int rowCount = tree.getRowCount();
|
||||
|
||||
Reference in New Issue
Block a user