mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-20 18:27:16 +01:00
fixes #583 - reduce minimal length for the filter string to be saved to history to 2 chars
This commit is contained in:
parent
993c93cf44
commit
414ca6cfb5
@ -46,7 +46,7 @@ void AutocompletedComboBox::filterUpdate(QString text)
|
||||
|
||||
void AutocompletedComboBox::addWord()
|
||||
{
|
||||
if (this->currentText().length() < 4) return;
|
||||
if (this->currentText().length() < 2) return;
|
||||
if (words.contains(this->currentText())) return;
|
||||
QString text = this->currentText();
|
||||
words << text;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user