mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-69839 Plugins list doesn't display: IllegalArgumentException: Invalid SortKey
This commit is contained in:
@@ -80,10 +80,9 @@ public class PluginManagerConfigurable extends BaseConfigurable implements Searc
|
||||
if (column >= 0) {
|
||||
final int orderOrdinal = available ? myUISettings.AVAILABLE_SORT_COLUMN_ORDER : myUISettings.INSTALLED_SORT_COLUMN_ORDER;
|
||||
for (final SortOrder sortOrder : SortOrder.values()) {
|
||||
if (sortOrder.ordinal() == orderOrdinal) {
|
||||
if (sortOrder.ordinal() == orderOrdinal && column < table.getColumnCount()) {
|
||||
rowSorter.setSortKeys(Arrays.asList(new RowSorter.SortKey(column, sortOrder)));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user