]> git.sur5r.net Git - minitube/commitdiff
Fixed Watch button disabled after recent keyword click
authorFlavio <flavio@odisseo.local>
Sun, 22 Jul 2012 09:28:32 +0000 (11:28 +0200)
committerFlavio <flavio@odisseo.local>
Sun, 22 Jul 2012 09:28:32 +0000 (11:28 +0200)
src/SearchView.cpp

index ad6fe92a896810e213948edec191b505dcaafef1..3388f34448b194dd7c1b81f22d2b47811954fdb2 100644 (file)
@@ -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);