From 414ca6cfb5786184de59daf80108606052f8e6de Mon Sep 17 00:00:00 2001 From: Vadim Kurland Date: Tue, 10 Nov 2009 17:29:36 +0000 Subject: [PATCH] fixes #583 - reduce minimal length for the filter string to be saved to history to 2 chars --- build_num | 2 +- src/gui/AutocompletedComboBox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_num b/build_num index 7d74eea3b..f13136158 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM 1709 +#define BUILD_NUM 1711 diff --git a/src/gui/AutocompletedComboBox.cpp b/src/gui/AutocompletedComboBox.cpp index db0ccf8a5..7e21174da 100644 --- a/src/gui/AutocompletedComboBox.cpp +++ b/src/gui/AutocompletedComboBox.cpp @@ -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;