tpreferences: fixed hotkeys not being saved across game sessions
The hotkeys dialog refactor accidentally removed the inclusion of preferences::save_hotkeys();
This commit is contained in:
parent
6ae882838b
commit
3d3541cd0d
1 changed files with 2 additions and 0 deletions
|
@ -1235,6 +1235,8 @@ void tpreferences::post_show(twindow& /*window*/)
|
|||
{
|
||||
// Handle the font scaling setter only once prefs is closed
|
||||
set_font_scaling(font_scaling_);
|
||||
|
||||
save_hotkeys();
|
||||
}
|
||||
|
||||
} // end namespace gui2
|
||||
|
|
Loading…
Add table
Reference in a new issue