1
0
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:
Megamouse 2018-06-20 02:15:26 +02:00 committed by Ivan
parent 4464951c77
commit 78ef205b4f
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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;
}
}