Fixed: #2384 Vanishing pins on AS3 code editing save, on script deletion and few other cases

This commit is contained in:
Jindra Petřík
2025-01-05 16:37:23 +01:00
parent 96744b54fa
commit 88802ccc64
5 changed files with 26 additions and 2 deletions

View File

@@ -500,6 +500,10 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
public void replaceItemPin(TreeItem oldItem, TreeItem newItem) {
pinsPanel.replaceItem(oldItem, newItem);
}
public void refreshPinnedScriptPacks() {
pinsPanel.refreshScriptPacks();
}
private void handleKeyReleased(KeyEvent e) {
if (checkEdited()) {
@@ -1878,6 +1882,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
if (tp != null) {
getCurrentTree().setSelectionPath(tp);
}
refreshPinnedScriptPacks();
}
private boolean isFilterEmpty(String filter) {