From f4b42e2cf261c3a6f4686ea39f9708a8332113a6 Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 27 Mar 2021 17:05:38 +0100 Subject: [PATCH] Device layout dialog - Don't prefill the logical layout --- .../Screens/Settings/Device/DeviceLayoutDialogView.xaml | 2 +- .../Screens/Settings/Device/DeviceLayoutDialogViewModel.cs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Artemis.UI/Screens/Settings/Device/DeviceLayoutDialogView.xaml b/src/Artemis.UI/Screens/Settings/Device/DeviceLayoutDialogView.xaml index 90f9ae552..19a8e170d 100644 --- a/src/Artemis.UI/Screens/Settings/Device/DeviceLayoutDialogView.xaml +++ b/src/Artemis.UI/Screens/Settings/Device/DeviceLayoutDialogView.xaml @@ -151,8 +151,8 @@ - { - AutocompleteSource = new RegionInfoAutocompleteSource(); - SelectedRegion = AutocompleteSource.Regions.FirstOrDefault(r => r.TwoLetterISORegionName == Device.LogicalLayout || - r.TwoLetterISORegionName == "US" && Device.LogicalLayout == "NA"); - }); + Task.Run(() => AutocompleteSource = new RegionInfoAutocompleteSource()); } public ArtemisDevice Device { get; }