#1127 autoRenameIdentifiers is not supported in CLI mode: fixed

This commit is contained in:
honfika@gmail.com
2016-01-03 10:45:54 +01:00
parent cdbfe54dad
commit 7b53768da7
3 changed files with 21 additions and 19 deletions

View File

@@ -764,24 +764,6 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
previewPanel.clear();
for (SWF swf : newSwfs) {
if (Configuration.autoRenameIdentifiers.get()) {
try {
swf.deobfuscateIdentifiers(RenameType.TYPENUMBER);
swf.assignClassesToSymbols();
swf.clearScriptCache();
if (abcPanel != null) {
abcPanel.reload();
}
updateClassesList();
} catch (InterruptedException ex) {
logger.log(Level.SEVERE, null, ex);
}
}
}
swfs.add(newSwfs);
SWF swf = newSwfs.size() > 0 ? newSwfs.get(0) : null;
if (swf != null) {