* sanity check

This commit is contained in:
Reinhard Pointner 2011-10-31 13:55:34 +00:00
parent c59f27d048
commit ad92f85a90
1 changed files with 4 additions and 0 deletions

View File

@ -336,6 +336,10 @@ public class RenamePanel extends JComponent {
@Override @Override
public void actionPerformed(final ActionEvent evt) { public void actionPerformed(final ActionEvent evt) {
if (renameModel.files().isEmpty()) {
return;
}
// auto-match in progress // auto-match in progress
namesList.firePropertyChange(LOADING_PROPERTY, false, true); namesList.firePropertyChange(LOADING_PROPERTY, false, true);