preserve tag tree expanded state after removing a node

This commit is contained in:
Honfika
2013-09-03 17:10:55 +02:00
parent d017a6c8fc
commit 06a890b2c4
14 changed files with 158 additions and 63 deletions
@@ -202,8 +202,7 @@ public class ActionPanel extends JPanel implements ActionListener {
if ((txt != null) && (!txt.equals(""))) {
searchIgnoreCase = ignoreCase;
searchRegexp = regexp;
List<Object> tags = new ArrayList<Object>(Main.swf.tags);
List<TagNode> list = Main.swf.createASTagList(tags, null);
List<TagNode> list = Main.swf.createASTagList(Main.swf.tags, null);
Map<String, ASMSource> asms = getASMs("", list);
found = new ArrayList<>();
Pattern pat = null;