Commit 82bc7508 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Allow keyserver queries with a single character

GnuPG-bug-id: 6064
parent a214bd6f
Pipeline #201081 passed with stage
in 6 minutes and 32 seconds
......@@ -37,7 +37,7 @@ using namespace Kleo;
using namespace Kleo::Dialogs;
using namespace GpgME;
static const int minimalSearchTextLength = 2;
static const int minimalSearchTextLength = 1;
class LookupCertificatesDialog::Private
{
......@@ -336,7 +336,7 @@ void LookupCertificatesDialog::Private::enableDisableWidgets()
return;
}
ui.findPB->setEnabled(searchText().length() > minimalSearchTextLength);
ui.findPB->setEnabled(searchText().size() >= minimalSearchTextLength);
const int n = q->selectedCertificates().size();
......
Supports Markdown
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