add path to "loaded config" and "saved config" messages. Fix problems where keybindings arent automatically applied when loading a configfile. Fixes #851

This commit is contained in:
zeromus 2017-05-22 12:49:45 -05:00
parent e1cfc28562
commit 3a98460fbd
1 changed files with 4 additions and 2 deletions

View File

@ -1304,7 +1304,8 @@ namespace BizHawk.Client.EmuHawk
{
Global.Config = ConfigService.Load<Config>(PathManager.DefaultIniPath);
Global.Config.ResolveDefaults();
GlobalWin.OSD.AddMessage("Config file loaded");
InitControls(); //rebind hotkeys
GlobalWin.OSD.AddMessage("Config file loaded: " + PathManager.DefaultIniPath);
}
private void LoadConfigFromMenuItem_Click(object sender, EventArgs e)
@ -1322,7 +1323,8 @@ namespace BizHawk.Client.EmuHawk
{
Global.Config = ConfigService.Load<Config>(ofd.FileName);
Global.Config.ResolveDefaults();
GlobalWin.OSD.AddMessage("Config file loaded");
InitControls(); //rebind hotkeys
GlobalWin.OSD.AddMessage("Config file loaded: " + ofd.FileName);
}
}