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.
This commit is contained in:
Eberhard Graether
2017-01-26 13:18:13 +01:00
parent 91ae2da227
commit 5e2c0f2c1f
+1 -1
View File
@@ -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)