]> Some of my projects - localmylist.git/commitdiff
Search string can be anywhere starting from 3 letters.
authorAPTX <redacted>
Thu, 30 May 2013 13:55:13 +0000 (15:55 +0200)
committerAPTX <redacted>
Thu, 30 May 2013 13:55:13 +0000 (15:55 +0200)
localmylist-management/tabs/searchtab.cpp

index 01b07fd..9262e3c 100644 (file)
@@ -51,7 +51,7 @@ void SearchTab::on_input_textChanged(const QString &text)
                return;
        }
 
-       if (text.length() > 3)
+       if (text.length() >= 3)
                query = "%" + text + "%";
        else
                query = text + "%";