mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 17:49:48 -06:00
Save game list sorting.
Fixes issue 5771.
This commit is contained in:
@ -320,7 +320,7 @@ void CGameListCtrl::Update()
|
||||
|
||||
// Sort items by Title
|
||||
wxListEvent event;
|
||||
event.m_col = COLUMN_TITLE; last_column = 0;
|
||||
event.m_col = SConfig::GetInstance().m_ListSort; last_column = 0;
|
||||
OnColumnClick(event);
|
||||
|
||||
SetColumnWidth(COLUMN_SIZE, wxLIST_AUTOSIZE);
|
||||
@ -708,6 +708,7 @@ void CGameListCtrl::OnColumnClick(wxListEvent& event)
|
||||
last_sort = current_column;
|
||||
}
|
||||
|
||||
SConfig::GetInstance().m_ListSort = last_sort;
|
||||
caller = this;
|
||||
SortItems(wxListCompare, last_sort);
|
||||
}
|
||||
|
Reference in New Issue
Block a user