mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +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)
|
void PushRecentFile (string file)
|
||||||
{
|
{
|
||||||
var node = m_recent_files.Find (file);
|
var node = m_recent_files.Find (file);
|
||||||
if (node == m_recent_files.First)
|
if (node != null && node == m_recent_files.First)
|
||||||
return;
|
return;
|
||||||
if (null == node)
|
if (null == node)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user