Skip to content

Commit

Permalink
Merge pull request #131 from DoranekoSystems/master
Browse files Browse the repository at this point in the history
Fixed a bug when sorting Servers
  • Loading branch information
funa-tk authored Jul 2, 2022
2 parents dc573da + acecbac commit e3f906f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/core/packetproxy/gui/GUIOptionServers.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ protected void clearTableContents() {

@Override
protected Server getSelectedTableContent() {
return getTableContent(table.getSelectedRow());
int index = table.getSelectedRow();
return getTableContent(table.getRowSorter().convertRowIndexToModel(index));
}

@Override
Expand Down

0 comments on commit e3f906f

Please sign in to comment.