mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
* don't allow empty searches
This commit is contained in:
parent
2ffd53a60a
commit
dc1ef24ad9
@ -139,7 +139,7 @@ public abstract class AbstractSearchPanel<S, E> extends JComponent {
|
||||
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
if (e.getActionCommand() == null) {
|
||||
if (e.getActionCommand() == null || searchTextField.getText().trim().isEmpty()) {
|
||||
// command triggered by auto-completion
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user