mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 17:29:18 +01:00
Force prevent multiple profile editors from being created
This commit is contained in:
parent
b6b57ed7ca
commit
09f7635b47
@ -1274,6 +1274,8 @@ Suspend support not enabled.", true);
|
||||
}
|
||||
|
||||
private void ShowProfileEditor(int device, ProfileEntity entity = null)
|
||||
{
|
||||
if (editor == null)
|
||||
{
|
||||
profOptsToolbar.Visibility = Visibility.Collapsed;
|
||||
profilesListBox.Visibility = Visibility.Collapsed;
|
||||
@ -1290,6 +1292,8 @@ Suspend support not enabled.", true);
|
||||
editor.Reload(device, entity);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void Editor_CreatedProfile(ProfileEditor sender, string profile)
|
||||
{
|
||||
profileListHolder.AddProfileSort(profile);
|
||||
|
Loading…
Reference in New Issue
Block a user