1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-25 17:28:51 -05:00

* sanity check

This commit is contained in:
Reinhard Pointner 2011-10-31 13:55:34 +00:00
parent c59f27d048
commit ad92f85a90

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