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

index 01b07fda340c4a5e8bdc29e481e35a20a3cb0748..9262e3c1ccfd73b9840bdea24933fbb2feb0c5cf 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 + "%";