1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 06:15:02 -05:00

* more user guidance

This commit is contained in:
Reinhard Pointner 2013-10-28 05:49:00 +00:00
parent b09fbaa3a6
commit f76c31e4d6

View File

@ -71,8 +71,8 @@ class RenameAction extends AbstractAction {
public void actionPerformed(ActionEvent evt) {
Window window = getWindow(evt.getSource());
try {
if (model.files().isEmpty()) {
UILogger.info("Nothing to rename. Please add some files and fetch data first.");
if (model.files().isEmpty() || model.values().isEmpty()) {
UILogger.info("Nothing to rename. Please add some files and fetch naming data first.");
return;
}