mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Qt: apply header states after populating the tables
This commit is contained in:
parent
bff9a06f9f
commit
325048a134
2 changed files with 8 additions and 7 deletions
|
@ -250,6 +250,8 @@ trophy_manager_dialog::trophy_manager_dialog(std::shared_ptr<gui_settings> gui_s
|
|||
m_splitter->setSizes({ width_left, width_right });
|
||||
}
|
||||
|
||||
PopulateUI();
|
||||
|
||||
QByteArray game_table_state = m_gui_settings->GetValue(gui::tr_games_state).toByteArray();
|
||||
if (!m_game_table->horizontalHeader()->restoreState(game_table_state) && m_game_table->rowCount())
|
||||
{
|
||||
|
@ -266,7 +268,6 @@ trophy_manager_dialog::trophy_manager_dialog(std::shared_ptr<gui_settings> gui_s
|
|||
m_trophy_table->horizontalHeader()->resizeSections(QHeaderView::ResizeMode::ResizeToContents);
|
||||
}
|
||||
|
||||
PopulateUI();
|
||||
ApplyFilter();
|
||||
|
||||
// Make connects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue