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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user