UI: Fixed issue when closing preferences window while game selection screen is shown

This commit is contained in:
Souryo 2017-05-13 18:27:47 -04:00
parent c3dedb679b
commit 1852f87934
2 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,7 @@ namespace Mesen.GUI.Controls
}
}
private void UpdateGameInfo()
public void UpdateGameInfo()
{
if(_currentIndex < _recentGames.Count) {
lblGameName.Text = Path.GetFileNameWithoutExtension(_recentGames[_currentIndex].RomName);

View File

@ -1233,6 +1233,7 @@ namespace Mesen.GUI.Forms
UpdateMenus();
InitializeFdsDiskMenu();
InitializeNsfMode(true);
ctrlRecentGames.UpdateGameInfo();
}
}