From 66f4f69841612ad5971a13e208f035ea98364847 Mon Sep 17 00:00:00 2001 From: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com> Date: Fri, 27 Oct 2023 12:59:52 +0200 Subject: [PATCH] [EnvVar]Mark and disable editing of user variables that are applied by a profile (#29451) * [EnvVar] Mark profile variable in user variables * Mark backup variables * Add tooltip to icon, put in header and disable editing of applied var * Use completed icon instead * Better var name and comments --------- Co-authored-by: Jaime Bernardo --- .../Views/MainPage.xaml | 17 +++++++++++++++-- .../EnvironmentVariables/Models/Variable.cs | 7 ++++++- .../Strings/en-us/Resources.resw | 3 +++ .../ViewModels/MainViewModel.cs | 10 ++++++++++ 4 files changed, 34 insertions(+), 3 deletions(-) diff --git a/src/modules/EnvironmentVariables/EnvironmentVariables/EnvironmentVariablesXAML/Views/MainPage.xaml b/src/modules/EnvironmentVariables/EnvironmentVariables/EnvironmentVariablesXAML/Views/MainPage.xaml index af137c9057e5..312929be4a58 100644 --- a/src/modules/EnvironmentVariables/EnvironmentVariables/EnvironmentVariablesXAML/Views/MainPage.xaml +++ b/src/modules/EnvironmentVariables/EnvironmentVariables/EnvironmentVariablesXAML/Views/MainPage.xaml @@ -24,10 +24,24 @@ + + + + + + + + + + -