From 1c5008d799c01d843bf6238490c4d4be151189b1 Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 8 Sep 2014 12:15:13 +0400 Subject: [PATCH] fixed empty 'recent files' menu. --- MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 7a2db48e..d8c64ce8 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -162,7 +162,7 @@ namespace GARbro.GUI void PushRecentFile (string file) { var node = m_recent_files.Find (file); - if (node == m_recent_files.First) + if (node != null && node == m_recent_files.First) return; if (null == node) {