mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 05:26:52 +00:00
#1104 AS1/2/3 Script Importation not functioning fixed
This commit is contained in:
@@ -2137,10 +2137,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
updateClassesList();
|
||||
}
|
||||
|
||||
if (countAs2 == 0 && countAs3 == 0 && swf.isAS3()) {
|
||||
View.showMessageDialog(this, translate("import.script.as12warning"));
|
||||
} else {
|
||||
View.showMessageDialog(this, translate("import.script.result").replace("%count%", Integer.toString(countAs2)));
|
||||
View.showMessageDialog(this, translate("import.script.result").replace("%count%", Integer.toString(countAs2 + countAs3)));
|
||||
if (countAs2 != 0 || countAs3 != 0) {
|
||||
reload(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user