mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 23:51:49 +01:00
Condense code paths for a section
This commit is contained in:
parent
3df7f24a7b
commit
b5b45a8983
@ -171,17 +171,15 @@ namespace DS4Windows
|
|||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
MessageBox.Show("Copy complete, please relaunch DS4Windows and remove settings from Program Directory", "DS4Windows");
|
MessageBox.Show("Copy complete, please relaunch DS4Windows and remove settings from Program Directory", "DS4Windows");
|
||||||
appdatapath = null;
|
|
||||||
Close();
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MessageBox.Show("DS4Windows cannot edit settings here, This will now close", "DS4Windows");
|
MessageBox.Show("DS4Windows cannot edit settings here, This will now close", "DS4Windows");
|
||||||
appdatapath = null;
|
|
||||||
Close();
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
appdatapath = null;
|
||||||
|
Close();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
cBUseWhiteIcon.Checked = UseWhiteIcon;
|
cBUseWhiteIcon.Checked = UseWhiteIcon;
|
||||||
|
Loading…
Reference in New Issue
Block a user