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:
parent
e1cfc28562
commit
3a98460fbd
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue