From 85d6caa68e4dc63b2069b7f484fc1fbb39e0e189 Mon Sep 17 00:00:00 2001 From: Flavio Date: Sun, 22 Jul 2012 11:28:32 +0200 Subject: [PATCH] Fixed Watch button disabled after recent keyword click --- src/SearchView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SearchView.cpp b/src/SearchView.cpp index ad6fe92..3388f34 100644 --- a/src/SearchView.cpp +++ b/src/SearchView.cpp @@ -335,8 +335,10 @@ void SearchView::watchKeywords(QString query) { return; } - if (typeCombo->currentIndex() == 0) + if (typeCombo->currentIndex() == 0) { queryEdit->setText(query); + watchButton->setEnabled(true); + } SearchParams *searchParams = new SearchParams(); searchParams->setKeywords(query); -- 2.39.5