mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-06 15:08:46 +00:00
fix: fix setSelectedIndex out of bounds on export dialog (#2579)
Fixes #2579
This commit is contained in:
@@ -521,7 +521,7 @@ public class ExportDialog extends AppDialog {
|
||||
|
||||
String key = optionNames[i] + "." + vals[j].toString().toLowerCase(Locale.ENGLISH);
|
||||
if (exportFormats.contains(key)) {
|
||||
itemIndex = j;
|
||||
itemIndex = namesList.size();
|
||||
}
|
||||
|
||||
namesList.add(new ComboValue(vals[j], translate(key)));
|
||||
|
||||
Reference in New Issue
Block a user