mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Layer adapter hints - Finished port, added deleting hints
This commit is contained in:
1 parent
720bebaf35
commit
cd97ed420c
7 files changed
+21
-13
No files matched your search
@@ -128,10 +128,15 @@ public class MenuBarViewModel : ActivatableViewModelBase
|
||||
if (ProfileConfiguration?.Profile == null)
|
||||
return;
|
||||
|
||||
if (!await _windowService.ShowConfirmContentDialog("Adapt profile", "Are you sure you want to adapt the profile to your current surface? Layer assignments may change."))
|
||||
bool confirmed = await _windowService.ShowConfirmContentDialog(
|
||||
"Adapt profile",
|
||||
"Are you sure you want to adapt the profile to your current surface? Layer assignments may change and you will lose your undo/redo history."
|
||||
);
|
||||
if (!confirmed)
|
||||
return;
|
||||
|
||||
_profileService.AdaptProfile(ProfileConfiguration.Profile);
|
||||
_history?.Clear();
|
||||
}
|
||||
|
||||
private void ExecuteToggleSuspended()
|
||||
|
||||
Reference in new issue
Block a user