mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Make sure profile name is searched by an exact match
Fixes issue with profile selections when using similar names
This commit is contained in:
parent
1c869647ab
commit
8e55e7178b
@ -1333,7 +1333,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
||||
}
|
||||
|
||||
Batteries[Index].Text = Program.rootHub.getDS4Battery(Index);
|
||||
int profileIndex = cbs[Index].FindString(ProfilePath[Index]);
|
||||
int profileIndex = cbs[Index].FindStringExact(ProfilePath[Index]);
|
||||
if (profileIndex >= 0)
|
||||
{
|
||||
cbs[Index].SelectedValueChanged -= Profile_Changed;
|
||||
|
Loading…
Reference in New Issue
Block a user