mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-12 00:30:28 +08:00
fixed empty 'recent files' menu.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user