mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-13 13:56:55 -04:00
Temporarily blocked ArrayIndexOutOfBoundsException when refreshing game downloads. It should not happen
This commit is contained in:
parent
02d3bd36fe
commit
ac66dfe476
@ -113,7 +113,8 @@ public class GameDownloadPanel extends Page {
|
||||
StrUtils.equalsOne(ver.type, "old_beta", "old_alpha", "release", "snapshot") ? C.i18n("versions." + ver.type) : ver.type }))
|
||||
.regDone(SwingUtils.invokeLater(() -> {
|
||||
lstDownloads.requestFocus();
|
||||
model.removeRow(0);
|
||||
if (model.getRowCount() > 0)
|
||||
model.removeRow(0);
|
||||
})).execute();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user