From: Flavio Date: Tue, 29 Jan 2013 13:41:58 +0000 (+0100) Subject: Disable refine search action when not in mediaview X-Git-Tag: 2.0~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f86f242260fa2a29b1c910371f9abb04bd924dc6;p=minitube Disable refine search action when not in mediaview --- diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6102799..bb815c0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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);