Skip to content

Commit

Permalink
fix: don't search when project was not opened yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Montel committed Oct 30, 2024
1 parent a315417 commit 3f4c814
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/project.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,9 @@ QVariantList Project::findInFiles(const QString &pattern) const
if (pattern.trimmed().isEmpty()) {
return result;
}
if (m_root.isEmpty()) {
return result;
}

QProcess process;

Expand Down

0 comments on commit 3f4c814

Please sign in to comment.