From 0cf61812c2cf12308fc5a46e4af7cfd0a257d421 Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 17 Nov 2014 23:16:50 +0000 Subject: [PATCH] Path Config - Fix bug where dual gb is selected by default when a gb game is active --- BizHawk.Client.EmuHawk/config/PathConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/config/PathConfig.cs b/BizHawk.Client.EmuHawk/config/PathConfig.cs index 718c92b68d..0c04112c85 100644 --- a/BizHawk.Client.EmuHawk/config/PathConfig.cs +++ b/BizHawk.Client.EmuHawk/config/PathConfig.cs @@ -67,7 +67,7 @@ namespace BizHawk.Client.EmuHawk { return PathTabControl.TabPages .OfType() - .FirstOrDefault(x => x.Name.ToUpper().Contains(name.ToUpper())) + .FirstOrDefault(x => x.Name.ToUpper().StartsWith(name.ToUpper())) ?? new TabPage(); }