From f76c31e4d6e53a016dd1f9d7baf9f20cffc52699 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 28 Oct 2013 05:49:00 +0000 Subject: [PATCH] * more user guidance --- source/net/sourceforge/filebot/ui/rename/RenameAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/sourceforge/filebot/ui/rename/RenameAction.java b/source/net/sourceforge/filebot/ui/rename/RenameAction.java index 00458e1b..e8fa35c8 100644 --- a/source/net/sourceforge/filebot/ui/rename/RenameAction.java +++ b/source/net/sourceforge/filebot/ui/rename/RenameAction.java @@ -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; }