gui: show info string if no recent files available

This commit is contained in:
Skylot
2015-03-29 14:45:19 +03:00
parent d4523c4e53
commit 2815cef1bb
2 changed files with 4 additions and 0 deletions
@@ -615,6 +615,9 @@ public class MainWindow extends JFrame {
}
});
}
if (recentFiles.getItemCount() == 0) {
recentFiles.add(new JMenuItem(NLS.str("menu.no_recent_files")));
}
}
@Override