提交 2815cef1 编写于 作者: S Skylot

gui: show info string if no recent files available

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册