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:
@@ -249,7 +249,7 @@ void FindPlugin::setupFilterMenuItems()
|
||||
mfindadvanced->addAction(cmd);
|
||||
d->m_filterActions.insert(filter, action);
|
||||
connect(action, SIGNAL(triggered(bool)), this, SLOT(openFindFilter()));
|
||||
connect(filter, SIGNAL(changed()), this, SLOT(filterChanged()));
|
||||
connect(filter, SIGNAL(enabledChanged(bool)), this, SLOT(filterChanged()));
|
||||
}
|
||||
d->m_findDialog->setFindFilters(findInterfaces);
|
||||
d->m_openFindDialog->setEnabled(haveEnabledFilters);
|
||||
|
||||
Reference in New Issue
Block a user