Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit c7fdb871 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Disabled confirmation to close after closing settings window

parent 9b2e6f20
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment