mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
Qt: sync gui settings by default after setting or removing values
This commit is contained in:
parent
56d35bf409
commit
4a4762654b
17 changed files with 77 additions and 80 deletions
|
|
@ -154,9 +154,8 @@ patch_manager_dialog::patch_manager_dialog(std::shared_ptr<gui_settings> gui_set
|
|||
void patch_manager_dialog::closeEvent(QCloseEvent* event)
|
||||
{
|
||||
// Save gui settings
|
||||
m_gui_settings->SetValue(gui::pm_geometry, saveGeometry());
|
||||
m_gui_settings->SetValue(gui::pm_splitter_state, ui->splitter->saveState());
|
||||
m_gui_settings->sync();
|
||||
m_gui_settings->SetValue(gui::pm_geometry, saveGeometry(), false);
|
||||
m_gui_settings->SetValue(gui::pm_splitter_state, ui->splitter->saveState(), true);
|
||||
|
||||
QDialog::closeEvent(event);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue