diff --git a/VECTO3GUI2020/ViewModel/Implementation/SettingsViewModel.cs b/VECTO3GUI2020/ViewModel/Implementation/SettingsViewModel.cs index 76246e6e1f270d47a5b61b183a99efa48c697a9a..3d25b5f92d4047893b0560da2cace6b606367073 100644 --- a/VECTO3GUI2020/ViewModel/Implementation/SettingsViewModel.cs +++ b/VECTO3GUI2020/ViewModel/Implementation/SettingsViewModel.cs @@ -70,19 +70,10 @@ namespace VECTO3GUI2020.ViewModel.Implementation { get { - return _closeWindowCommand ?? new RelayCommand<Window>(window => CloseWindow(window, _dialogHelper), window => true); + return _closeWindowCommand ?? new RelayCommand<Window>(window => CloseWindow(window, _dialogHelper, false), window => true); } } - private void CloseWindow(Window window, bool ask) - { - - } - - - - - public ICommand ChangeFilePath { get diff --git a/VECTO3GUI2020/Views/SettingsView.xaml b/VECTO3GUI2020/Views/SettingsView.xaml index 6ef78b6a93d8de01b64309520d4547ebcd419a1f..29bf28e2745ff8b845e70ed00aed19c423e66b22 100644 --- a/VECTO3GUI2020/Views/SettingsView.xaml +++ b/VECTO3GUI2020/Views/SettingsView.xaml @@ -103,9 +103,7 @@ Width="100" Command="{Binding CloseWindowCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}}" - Style="{DynamicResource MultiStageButtonStyle1}" - Margin="4" - Padding="4">Close</Button> + Style="{DynamicResource MultiStageButtonStyle1}">Close</Button> </DockPanel> </DockPanel> </Grid>