mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 05:48:09 +00:00
Fixed Loaded SWFs using "Open loaded during play" feature have short filenames
This commit is contained in:
@@ -49,6 +49,7 @@ All notable changes to this project will be documented in this file.
|
||||
- Maintain export name/class on imported tags
|
||||
- Classnames in PlaceObject
|
||||
- [#1828] AS1/2 deobfuscation removing variable declarations
|
||||
- Loaded SWFs using "Open loaded during play" feature have short filenames
|
||||
|
||||
### Changed
|
||||
- Quick search needs minimum of 3 characters
|
||||
|
||||
@@ -2293,7 +2293,7 @@ public class Main {
|
||||
String hash = md5(data);
|
||||
for (OpenableList sl : Main.getMainFrame().getPanel().getSwfs()) {
|
||||
for (int s = 0; s < sl.size(); s++) {
|
||||
String t = sl.get(s).getFileTitle();
|
||||
String t = sl.get(s).getTitleOrShortFileName();
|
||||
if (t == null) {
|
||||
t = "";
|
||||
}
|
||||
@@ -2304,7 +2304,7 @@ public class Main {
|
||||
}
|
||||
SWF swf = Main.getMainFrame().getPanel().getCurrentSwf();
|
||||
|
||||
String title = swf == null ? "?" : swf.getFileTitle();
|
||||
String title = swf == null ? "?" : swf.getTitleOrShortFileName();
|
||||
final String titleWithHash = title + ":" + hash;
|
||||
try {
|
||||
final String tfile = tempFile(titleWithHash);
|
||||
|
||||
Reference in New Issue
Block a user