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) {