logic: Fixed issues when indexing via CLI (issue #718)
* show proper error message in console when project configuration has issues * quit when project configuration is wrong * show indexing progress as self-updating percentage
This commit is contained in:
@@ -467,6 +467,11 @@ void Application::refreshProject(RefreshMode refreshMode)
|
||||
if (m_project && checkSharedMemory())
|
||||
{
|
||||
m_project->refresh(refreshMode, getDialogView(DialogView::UseCase::INDEXING));
|
||||
|
||||
if (!m_hasGUI && !m_project->isIndexing())
|
||||
{
|
||||
MessageQuitApplication().dispatch();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user