allow reload ffdec when no swf is opened

This commit is contained in:
honfika@gmail.com
2015-05-25 11:01:49 +02:00
parent 5d218f7d45
commit 48b90ec8da
3 changed files with 2 additions and 15 deletions

View File

@@ -476,7 +476,8 @@ public abstract class MainFrameMenu implements MenuBuilder {
return true;
}
return false;
Main.reloadApp();
return true;
}
protected void advancedSettingsActionPerformed(ActionEvent evt) {
@@ -637,8 +638,6 @@ public abstract class MainFrameMenu implements MenuBuilder {
setMenuEnabled("/file/import/importSymbolClass", swfLoaded && !isWorking);
setMenuEnabled("/file/import/importXml", swfLoaded && !isWorking);
setMenuEnabled("/file/reload", swfLoaded);
setMenuEnabled("/tools/deobfuscation", swfLoaded);
setMenuEnabled("/tools/deobfuscation/renameOneIdentifier", swfLoaded && !isWorking);
setMenuEnabled("/tools/deobfuscation/renameInvalidIdentifiers", swfLoaded && !isWorking);