From fed18ffa89c2a24d4cbb30a7efe29f00aa5d529b Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Wed, 22 Feb 2017 20:40:28 +0100 Subject: Fixed bug crashing program because of trying to sort null Events. --- EventMaker/EventMaker/ViewModel/EventViewModel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/EventMaker/EventMaker/ViewModel/EventViewModel.cs b/EventMaker/EventMaker/ViewModel/EventViewModel.cs index 627360f..1ff8f8f 100644 --- a/EventMaker/EventMaker/ViewModel/EventViewModel.cs +++ b/EventMaker/EventMaker/ViewModel/EventViewModel.cs @@ -21,7 +21,6 @@ namespace EventMaker.ViewModel LoadEventCommand = new RelayCommand(LoadEvent); UpdateEventCommand = new RelayCommand(UpdateEvent); CleanTemplateCommand = new RelayCommand(CleanTemplate); - SortEvents(); } public EventCatalogSingleton EventCatalogSingleton { get; set; } = EventCatalogSingleton.Instance; -- cgit v1.2.3