mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 02:54:20 +01:00
Make sure to populate oldprofilepath when refreshing profiles
This commit is contained in:
parent
2d15badd0a
commit
55890cfc81
@ -741,7 +741,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
||||
if (lBProfiles.Items.Count == 0)
|
||||
{
|
||||
SaveProfile(0, "Default");
|
||||
ProfilePath[0] = "Default";
|
||||
ProfilePath[0] = OlderProfilePath[0] = "Default";
|
||||
RefreshProfiles();
|
||||
return;
|
||||
}
|
||||
@ -759,7 +759,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
||||
{
|
||||
cbs[i].SelectedIndex = j;
|
||||
((ToolStripMenuItem)shortcuts[i].DropDownItems[j]).Checked = true;
|
||||
ProfilePath[i] = cbs[i].Text;
|
||||
ProfilePath[i] = OlderProfilePath[i] = cbs[i].Text;
|
||||
shortcuts[i].Text = Properties.Resources.ContextEdit.Replace("*number*", (i + 1).ToString());
|
||||
ebns[i].Text = Properties.Resources.EditProfile;
|
||||
break;
|
||||
@ -777,7 +777,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
||||
{
|
||||
Directory.CreateDirectory(appdatapath + @"\Profiles\");
|
||||
SaveProfile(0, "Default");
|
||||
ProfilePath[0] = "Default";
|
||||
ProfilePath[0] = OlderProfilePath[0] = "Default";
|
||||
RefreshProfiles();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user