Fixed: #2511 Allowing to jump from search window while editation causing problems

Changed: Serial form of AS3 search results changed so the decompiler is unable to read
saved AS3 search result from older versions and vice-versa
This commit is contained in:
Jindra Petřík
2025-08-14 09:23:58 +02:00
parent 33d6f9f300
commit 4dbdc09278
4 changed files with 26 additions and 6 deletions
@@ -460,6 +460,9 @@ public class SearchResultsDialog<E extends SearchResult> extends AppDialog {
@SuppressWarnings("unchecked")
private void gotoElement() {
if (Main.getMainFrame().getPanel().checkEdited()) {
return;
}
if (openableToResults.size() > 1) {
BasicTreeNode selection = (BasicTreeNode) resultsTree.getLastSelectedPathComponent();
if (selection.getData() instanceof SearchResult) {