Commit 093da583 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't apply when string is empty

parent 0f2c2a31
......@@ -375,8 +375,8 @@ bool FolderTreeWidget::eventFilter(QObject *o, QEvent *e)
const int filterLength(d->filter.length());
if (filterLength > 0) {
d->filter.truncate(filterLength - 1);
}
applyFilter(d->filter);
}
return false;
}
case Qt::Key_Delete:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment