Commit e0f2d129 authored by Laurent Montel's avatar Laurent Montel 😁

Don"t add empty string

parent 9f16982a
......@@ -114,7 +114,7 @@ AdBlockSettingWidget::~AdBlockSettingWidget()
void AdBlockSettingWidget::slotManualFilterLineEditTextChanged(const QString &text)
{
mUi->insertButton->setEnabled(!text.isEmpty());
mUi->insertButton->setEnabled(!text.trimmed().isEmpty());
}
void AdBlockSettingWidget::slotEditFilter()
......
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