Commit 2815cef1 authored by Skylot's avatar Skylot

gui: show info string if no recent files available

parent d4523c4e
......@@ -615,6 +615,9 @@ public class MainWindow extends JFrame {
}
});
}
if (recentFiles.getItemCount() == 0) {
recentFiles.add(new JMenuItem(NLS.str("menu.no_recent_files")));
}
}
@Override
......
menu.file=File
menu.view=View
menu.recent_files=Recent Files
menu.no_recent_files=No recent files
menu.preferences=Preferences
menu.sync=Sync with editor
menu.flatten=Show flatten packages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment