mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +01:00
Qt: fix minor bug in save_manager that occurred when sorting the tables
This commit is contained in:
parent
4464951c77
commit
78ef205b4f
@ -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…
Reference in New Issue
Block a user