ui: Fixed include detection did not always stop status bar progress after finishing

* Changed next button labels in include detection dialogs
This commit is contained in:
Eberhard Graether
2018-01-28 22:27:35 +01:00
parent f49256bbd4
commit 393b601c16
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -95,8 +95,6 @@ void QtDialogView::showProgressDialog(const std::string& title, const std::strin
void QtDialogView::hideProgressDialog()
{
MessageStatus("", false, false).dispatch();
m_onQtThread(
[=]()
{
@@ -106,6 +104,8 @@ void QtDialogView::hideProgressDialog()
m_windowStack.popWindow();
}
MessageStatus("", false, false).dispatch();
setUIBlocked(false);
}
);
@@ -510,7 +510,7 @@ void QtProjectWizzardContentPathsHeaderSearch::detectIncludesButtonClicked()
);
m_pathsDialog->setup();
m_pathsDialog->updateNextButton("Next");
m_pathsDialog->updateNextButton("Start");
m_pathsDialog->setCloseVisible(true);
m_pathsDialog->setRelativeRootDirectory(m_settings->getProjectDirectoryPath());
@@ -715,15 +715,15 @@ void QtProjectWizzardContentPathsHeaderSearch::showDetectedIncludesResult(const
"Detected Include Paths",
(
"<p>The following <b>" + std::to_string(additionalHeaderSearchPaths.size()) + "</b> include paths have been "
"detected and will be added to the include paths that are already defined by this Source Group.<b>"
"detected and will be added to the include paths of this Source Group.<b>"
).c_str()
);
m_filesDialog->setup();
m_filesDialog->setCloseVisible(true);
m_filesDialog->updateNextButton("Finish");
m_filesDialog->setReadOnly(true);
m_filesDialog->setCloseVisible(true);
m_filesDialog->updateNextButton("Add");
m_filesDialog->setText(detailedText);
m_filesDialog->showWindow();