* more user guidance

This commit is contained in:
Reinhard Pointner 2013-10-28 05:49:00 +00:00
parent b09fbaa3a6
commit f76c31e4d6
1 changed files with 2 additions and 2 deletions

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;
}