Controller Config - properly prune analog buttons that aren't in the curent configuration

This commit is contained in:
adelikat 2015-02-01 22:14:27 +00:00
parent d3ff7a2e7a
commit 45b2fcb8af
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ namespace BizHawk.Client.EmuHawk
if (buckets[0].Count == controllerButtons.Count)
{
// everything went into bucket 0, so make no tabs at all
dest.Controls.Add(createpanel(settings, null, dest.Size));
dest.Controls.Add(createpanel(settings, controllerButtons.ToList(), dest.Size));
}
else
{