forked from qt-creator/qt-creator
Disable "Search Again" if file filter is disabled.
For example disabled it for "All Projects" searches when all projects are closed. Change-Id: Icc65a87577ba51f4362791dc8ecdca3c92819553 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -131,6 +131,7 @@ void BaseFileFind::runNewSearch(const QString &txt, Find::FindFlags findFlags,
|
||||
connect(search, SIGNAL(visibilityChanged(bool)), this, SLOT(hideHighlightAll(bool)));
|
||||
connect(search, SIGNAL(cancelled()), this, SLOT(cancel()));
|
||||
connect(search, SIGNAL(searchAgainRequested()), this, SLOT(searchAgain()));
|
||||
connect(this, SIGNAL(enabledChanged(bool)), search, SLOT(setSearchAgainEnabled(bool)));
|
||||
runSearch(search);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user