mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 13:10:46 +00:00
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:
@@ -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) {
|
||||
|
||||
@@ -176,13 +176,12 @@ public class SearchResultsStorage {
|
||||
if (kind == DATA_ACTION) {
|
||||
currentResults.add(new ActionSearchResult((SWF) openable, bais));
|
||||
}
|
||||
} catch (ScriptNotFoundException | IOException ex) {
|
||||
ex.printStackTrace();
|
||||
} catch (ScriptNotFoundException ex) {
|
||||
//ignore
|
||||
}
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
Logger.getLogger(SearchResultsStorage.class.getName()).log(Level.SEVERE, null, ex);
|
||||
//ignore
|
||||
}
|
||||
unpackedData.set(j, currentResults);
|
||||
result.addAll(currentResults);
|
||||
|
||||
Reference in New Issue
Block a user