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