loading fix, now that covers all the bad bugs

Signed-off-by: jays2kings <jays2kings@gmail.com>
This commit is contained in:
jays2kings 2014-04-29 05:23:28 -04:00
parent fb95a03df1
commit fca9dc9dac
2 changed files with 2 additions and 3 deletions

View File

@ -883,7 +883,7 @@ namespace DS4Control
public bool Load() public bool Load()
{ {
Boolean Loaded = true; Boolean Loaded = true;
/*Boolean missingSetting = false; Boolean missingSetting = false;
try try
{ {
@ -914,7 +914,7 @@ namespace DS4Control
} }
catch { } catch { }
if (missingSetting) if (missingSetting)
Save(); */ Save();
return Loaded; return Loaded;
} }
public bool Save() public bool Save()

View File

@ -156,7 +156,6 @@ namespace ScpServer
cbs[i].SelectedIndex = j; cbs[i].SelectedIndex = j;
((ToolStripMenuItem)shortcuts[i].DropDownItems[j]).Checked = true; ((ToolStripMenuItem)shortcuts[i].DropDownItems[j]).Checked = true;
Global.setAProfile(i, cbs[i].Text); Global.setAProfile(i, cbs[i].Text);
Global.LoadProfile(i);
break; break;
} }
cbs[i].Items.Add("+New Profile"); cbs[i].Items.Add("+New Profile");