mirror of https://github.com/zlatinb/muwire
Correct sort event
parent
08c2fd0b36
commit
255fb2038d
|
@ -1962,7 +1962,7 @@ class MainFrameView {
|
|||
int selectedRow = messageHeaderTable.getSelectedRow()
|
||||
if (selectedRow < 0)
|
||||
return -1
|
||||
if (lastCollectionFilesSortEvent != null)
|
||||
if (lastMessageHeaderTableSortEvent != null)
|
||||
selectedRow = messageHeaderTable.rowSorter.convertRowIndexToModel(selectedRow)
|
||||
selectedRow
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue