* more user guidance
This commit is contained in:
parent
b09fbaa3a6
commit
f76c31e4d6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue