* 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) {
|
public void actionPerformed(ActionEvent evt) {
|
||||||
Window window = getWindow(evt.getSource());
|
Window window = getWindow(evt.getSource());
|
||||||
try {
|
try {
|
||||||
if (model.files().isEmpty()) {
|
if (model.files().isEmpty() || model.values().isEmpty()) {
|
||||||
UILogger.info("Nothing to rename. Please add some files and fetch data first.");
|
UILogger.info("Nothing to rename. Please add some files and fetch naming data first.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue