mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Qt: fix minor bug in save_manager that occurred when sorting the tables
This commit is contained in:
parent
4464951c77
commit
78ef205b4f
2 changed files with 2 additions and 2 deletions
|
@ -157,9 +157,9 @@ void save_data_list_dialog::OnSort(int logicalIndex)
|
|||
{
|
||||
m_sort_ascending = true;
|
||||
}
|
||||
m_sort_column = logicalIndex;
|
||||
Qt::SortOrder sort_order = m_sort_ascending ? Qt::AscendingOrder : Qt::DescendingOrder;
|
||||
m_list->sortByColumn(m_sort_column, sort_order);
|
||||
m_sort_column = logicalIndex;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -217,9 +217,9 @@ void save_manager_dialog::OnSort(int logicalIndex)
|
|||
{
|
||||
m_sort_ascending = true;
|
||||
}
|
||||
m_sort_column = logicalIndex;
|
||||
Qt::SortOrder sort_order = m_sort_ascending ? Qt::AscendingOrder : Qt::DescendingOrder;
|
||||
m_list->sortByColumn(m_sort_column, sort_order);
|
||||
m_sort_column = logicalIndex;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue