mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Bugfix
This commit is contained in:
parent
3aea0c494b
commit
02a6c1365f
1 changed files with 6 additions and 2 deletions
|
@ -57,8 +57,12 @@ public class GTableAutoLookup extends AutoLookup {
|
|||
|
||||
@Override
|
||||
public boolean isSorted(int column) {
|
||||
SortedTableModel sortedModel = (SortedTableModel) table.getModel();
|
||||
return column == sortedModel.getPrimarySortColumnIndex();
|
||||
|
||||
if (table.getModel() instanceof SortedTableModel) {
|
||||
SortedTableModel sortedModel = (SortedTableModel) table.getModel();
|
||||
return column == sortedModel.getPrimarySortColumnIndex();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue