Condense code paths for a section

This commit is contained in:
Travis Nickles 2018-08-17 02:40:04 -05:00
parent 3df7f24a7b
commit b5b45a8983

View File

@ -171,18 +171,16 @@ namespace DS4Windows
}
catch { }
MessageBox.Show("Copy complete, please relaunch DS4Windows and remove settings from Program Directory", "DS4Windows");
appdatapath = null;
Close();
return;
}
else
{
MessageBox.Show("DS4Windows cannot edit settings here, This will now close", "DS4Windows");
}
appdatapath = null;
Close();
return;
}
}
cBUseWhiteIcon.Checked = UseWhiteIcon;
Icon = Properties.Resources.DS4W;