Commit b6bcf505 authored by Eike Ziller's avatar Eike Ziller

FindInOpenFiles: use documentCount instead of openedEditors

Change-Id: I329417ce61b71f3bf080c5a76c41c69acda2cb94
Reviewed-by: default avatarEike Ziller <>
parent 5f166f25
......@@ -100,7 +100,7 @@ QString FindInOpenFiles::toolTip() const
bool FindInOpenFiles::isEnabled() const
return Core::EditorManager::instance()->openedEditors().count() > 0;
return Core::EditorManager::documentModel()->documentCount() > 0;
void FindInOpenFiles::writeSettings(QSettings *settings)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment