Qt: Sort game list after load settings to prevent icon size mismatch

This was sorely needed when the app crashed after resizing icons
This commit is contained in:
Megamouse 2018-12-30 13:20:56 +01:00
parent 64ea7bf867
commit a1dd6e080c

View File

@ -199,6 +199,7 @@ void game_list_frame::LoadSettings()
m_gameList->setColumnHidden(col, !vis);
}
SortGameList();
FixNarrowColumns();
m_gameList->horizontalHeader()->restoreState(m_gameList->horizontalHeader()->saveState());