* added radio buttons to start indexing dialog * don't block task scheduler thread while start indexing dialog is visible * don't force whole project refresh on settings change * added help button to start indexing dialog explaining indexing modes * disable unavailable modes when project needs full refresh * improved label texts on indexing dialogs * added --incomplete flag to index command of commandline API * fixed deletion of window stack elements
This commit is contained in:
@@ -919,30 +919,23 @@ void QtProjectWizzard::createProject()
|
||||
m_projectSettings->setAllSourceGroupSettings(m_allSourceGroupSettings);
|
||||
m_projectSettings->save(path);
|
||||
|
||||
bool forceRefreshProject = false;
|
||||
bool settingsChanged = false;
|
||||
if (m_editing)
|
||||
{
|
||||
bool settingsChanged = false;
|
||||
|
||||
Application* application = Application::getInstance().get();
|
||||
if (application->getCurrentProject() != NULL)
|
||||
{
|
||||
settingsChanged = !(application->getCurrentProject()->settingsEqualExceptNameAndLocation(*(m_projectSettings.get())));
|
||||
}
|
||||
|
||||
bool appSettingsChanged = !(m_appSettings == *ApplicationSettings::getInstance().get());
|
||||
|
||||
if (settingsChanged || appSettingsChanged)
|
||||
{
|
||||
forceRefreshProject = true;
|
||||
}
|
||||
settingsChanged |= !(m_appSettings == *ApplicationSettings::getInstance().get());
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageStatus("Created project: " + path.str()).dispatch();
|
||||
}
|
||||
|
||||
MessageLoadProject(path, forceRefreshProject).dispatch();
|
||||
MessageLoadProject(path, settingsChanged).dispatch();
|
||||
|
||||
finishWizzard();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user