Index: shell/filteredproblemstore.cpp =================================================================== --- shell/filteredproblemstore.cpp +++ shell/filteredproblemstore.cpp @@ -292,6 +292,8 @@ bool FilteredProblemStorePrivate::match(const IProblem::Ptr &problem) const { + if (!q->documents()->get().contains(problem.data()->finalLocation().document)) + return false; if(problem->severity()!=IProblem::NoSeverity) {