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:
Charles Dang 2016-03-01 23:38:17 +11:00
parent 6ae882838b
commit 3d3541cd0d

View file

@ -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