1
0
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:
Vadim Kurland 2009-11-10 17:29:36 +00:00
parent 993c93cf44
commit 414ca6cfb5
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 1709
#define BUILD_NUM 1711

View File

@ -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;