]> git.sur5r.net Git - minitube/commitdiff
Disable refine search action when not in mediaview
authorFlavio <flavio@odisseo.local>
Tue, 29 Jan 2013 13:41:58 +0000 (14:41 +0100)
committerFlavio <flavio@odisseo.local>
Tue, 29 Jan 2013 13:41:58 +0000 (14:41 +0100)
src/mainwindow.cpp

index 61027992a9744fd85ab8bffc6280943cadd74d46..bb815c004378ff104587ac01db81e9cf5134a6b8 100644 (file)
@@ -849,6 +849,7 @@ void MainWindow::showWidget(QWidget* widget, bool transition) {
         The::globalActions()->value("download")->setEnabled(false);
         The::globalActions()->value("stopafterthis")->setEnabled(false);
         The::globalActions()->value("related-videos")->setEnabled(false);
+        The::globalActions()->value("refine-search")->setEnabled(false);
     }
 
     The::globalActions()->value("twitter")->setEnabled(isMediaView);