mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 04:30:45 +00:00
ABC Explorer - Fixed index out of bounds when no ABC exist in the file
This commit is contained in:
@@ -142,6 +142,9 @@ public class ABCExplorerDialog extends AppDialog {
|
||||
|
||||
private void abcComboBoxActionPerformed(ActionEvent e) {
|
||||
int index = abcComboBox.getSelectedIndex();
|
||||
if (index == -1) {
|
||||
return;
|
||||
}
|
||||
ABC abc = abcContainers.get(index).getABC();
|
||||
tagInfoLabel.setText(
|
||||
translate("abc.info")
|
||||
|
||||
Reference in New Issue
Block a user