From 2890d1833b0434d42788dfefdc066fc9647f958a Mon Sep 17 00:00:00 2001
From: "VKMTHD\\haraldmartini" <harald.martini@student.tugraz.at>
Date: Tue, 30 May 2023 12:10:40 +0200
Subject: [PATCH] removed actual modal data setting from multistep gui

---
 .../Implementation/SettingsViewModel.cs       | 22 +++++++++++++------
 VECTO3GUI2020/Views/SettingsView.xaml         | 12 +++++-----
 2 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/VECTO3GUI2020/ViewModel/Implementation/SettingsViewModel.cs b/VECTO3GUI2020/ViewModel/Implementation/SettingsViewModel.cs
index a4e85720ee..a55d286c54 100644
--- a/VECTO3GUI2020/ViewModel/Implementation/SettingsViewModel.cs
+++ b/VECTO3GUI2020/ViewModel/Implementation/SettingsViewModel.cs
@@ -131,17 +131,25 @@ namespace VECTO3GUI2020.ViewModel.Implementation
 
 		public bool ActualModalData
 		{
-			get => _actualModalData;
-			set
-			{
-				if (SetProperty(ref _actualModalData, value)) {
-					_settings.ActualModalData = value;
-					_settings.Save();
+			get => false;
+			set{
 
-				}
 			}
 		}
 
+		//public bool ActualModalData
+		//{
+		//	get => _actualModalData;
+		//	set
+		//	{
+		//		if (SetProperty(ref _actualModalData, value)) {
+		//			_settings.ActualModalData = value;
+		//			_settings.Save();
+
+		//		}
+		//	}
+		//}
+
 		public bool Validate
 		{
 			get => _validate;
diff --git a/VECTO3GUI2020/Views/SettingsView.xaml b/VECTO3GUI2020/Views/SettingsView.xaml
index 29bf28e274..5dc55f3ebd 100644
--- a/VECTO3GUI2020/Views/SettingsView.xaml
+++ b/VECTO3GUI2020/Views/SettingsView.xaml
@@ -76,14 +76,14 @@
                     <Label Grid.Row="1" Grid.Column="2">Write Modal Results</Label>
                     <CheckBox Grid.Row="1" Grid.Column="3" IsChecked="{Binding WriteModalResults}"></CheckBox>
 
-                    <Label Grid.Row="2" Grid.Column="0">Validate</Label>
-                    <CheckBox Grid.Row="2" Grid.Column="1" IsChecked="{Binding Validate}"></CheckBox>
+                    <Label Grid.Row="1" Grid.Column="0">Validate</Label>
+                    <CheckBox Grid.Row="1" Grid.Column="1" IsChecked="{Binding Validate}"></CheckBox>
 
-                    <Label Grid.Row="0" Grid.Column="2">Actual Modal Data</Label>
-                    <CheckBox Grid.Row="0" Grid.Column="3" IsChecked="{Binding ActualModalData}"></CheckBox>
+                    <!--<Label Grid.Row="0" Grid.Column="2">Actual Modal Data</Label>
+                    <CheckBox Grid.Row="0" Grid.Column="3" IsChecked="{Binding ActualModalData}"></CheckBox>-->
 
-                    <Label Grid.Row="1" Grid.Column="0">ModalResults1Hz</Label>
-                    <CheckBox Grid.Row="1" Grid.Column="1" IsChecked="{Binding ModalResults1Hz}"></CheckBox>
+                    <Label Grid.Row="0" Grid.Column="2">ModalResults1Hz</Label>
+                    <CheckBox Grid.Row="0" Grid.Column="3" IsChecked="{Binding ModalResults1Hz}"></CheckBox>
 
 
 
-- 
GitLab