From 7f2728b3767bd3c6444ee6f1ab372e1e3d1f2ea8 Mon Sep 17 00:00:00 2001 From: Vladimir Bondarevskiy Date: Mon, 29 May 2017 10:25:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20Nul?= =?UTF-8?q?lReferenceException=20=D0=BF=D1=80=D0=B8=20=D0=B7=D0=B0=D0=BF?= =?UTF-8?q?=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D0=B8=20=D1=81=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=BA=D0=B0=20=D0=BA=D1=8D=D1=88=D0=B5=D0=B9,=20=D0=B5?= =?UTF-8?q?=D1=81=D0=BB=D0=B8=20=D0=BA=D1=8D=D1=88=20=D0=BD=D0=B5=20=D1=81?= =?UTF-8?q?=D0=B2=D1=8F=D0=B7=D0=B0=D0=BD=20=D1=81=20=D0=B8=D0=BD=D1=84?= =?UTF-8?q?=D0=BE=D1=80=D0=BC=D0=B0=D1=86=D0=B8=D0=BE=D0=BD=D0=BD=D0=BE?= =?UTF-8?q?=D0=B9=20=D0=B1=D0=B0=D0=B7=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OneCleaner/ViewModel/MainWindowViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OneCleaner/ViewModel/MainWindowViewModel.cs b/OneCleaner/ViewModel/MainWindowViewModel.cs index 7936170..ac3dd48 100644 --- a/OneCleaner/ViewModel/MainWindowViewModel.cs +++ b/OneCleaner/ViewModel/MainWindowViewModel.cs @@ -42,7 +42,7 @@ namespace OneCleaner foreach (var item in Cache) { - item.Name = InfoBases.Where(i => i.UUID == item.UUID).FirstOrDefault().Name; + item.Name = InfoBases.Where(i => i.UUID == item.UUID).FirstOrDefault()?.Name; } }