From 5e2c0f2c1f8f0ffea730a92af811c65b964eb041 Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Thu, 26 Jan 2017 13:18:13 +0100 Subject: [PATCH] logic: Fixed trial to not refresh changed projects It was not checked whether Coati is unlocked when refreshing an edited project. So users could change one of the sample projects manually to index their own source code. --- src/lib/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Application.cpp b/src/lib/Application.cpp index c30aeacb..a750953d 100644 --- a/src/lib/Application.cpp +++ b/src/lib/Application.cpp @@ -176,7 +176,7 @@ void Application::createAndLoadProject(const FilePath& projectSettingsFilePath) void Application::refreshProject(bool force) { - if (m_project) + if (m_project && !m_isInTrial) { bool indexing = m_project->refresh(force); if (indexing)