From f86f242260fa2a29b1c910371f9abb04bd924dc6 Mon Sep 17 00:00:00 2001 From: Flavio Date: Tue, 29 Jan 2013 14:41:58 +0100 Subject: [PATCH] Disable refine search action when not in mediaview --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5