mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
fixed empty 'recent files' menu.
This commit is contained in:
parent
58f8b4845d
commit
1c5008d799
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user