From 1e11bc5416c64f4b4a8960ccf0f57789632e1845 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Tue, 20 Oct 2020 15:21:11 +0200 Subject: [PATCH] [FIX] removed bad getter for model --- Client/ViewModels/ViewModel.cs | 3 --- Client/Views/MainWindow.xaml | 6 ++---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Client/ViewModels/ViewModel.cs b/Client/ViewModels/ViewModel.cs index 241b520..5498197 100644 --- a/Client/ViewModels/ViewModel.cs +++ b/Client/ViewModels/ViewModel.cs @@ -43,9 +43,6 @@ namespace Client { get { - if (_model == null) - _model = new Model(); - return _model; } diff --git a/Client/Views/MainWindow.xaml b/Client/Views/MainWindow.xaml index 7830f07..64a1fb1 100644 --- a/Client/Views/MainWindow.xaml +++ b/Client/Views/MainWindow.xaml @@ -12,7 +12,7 @@ - + @@ -34,7 +34,6 @@