fixed empty 'recent files' menu.

This commit is contained in:
morkt 2014-09-08 12:15:13 +04:00
parent 58f8b4845d
commit 1c5008d799

View File

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