diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:13:28 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:41:54 -0500 |
| commit | fb2cddd92a1f09fef22dc66c737aa608408aaa18 (patch) | |
| tree | 17fb9453c766e821c6dbbd00aea3d02bc2f3ae1e /src/createinstancedialog.cpp | |
| parent | 1d97d914f1de0404b5b4db1bfdeff35ed94ea422 (diff) | |
replace "create instance" title by "setting up instance"
fixed bad game location for custom paths
Diffstat (limited to 'src/createinstancedialog.cpp')
| -rw-r--r-- | src/createinstancedialog.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/createinstancedialog.cpp b/src/createinstancedialog.cpp index d67e3451..d2846367 100644 --- a/src/createinstancedialog.cpp +++ b/src/createinstancedialog.cpp @@ -99,13 +99,18 @@ void CreateInstanceDialog::back() changePage(-1); } -void CreateInstanceDialog::setSinglePageImpl() +void CreateInstanceDialog::setSinglePageImpl(const QString& instanceName) { m_singlePage = true; if (m_pages[ui->pages->currentIndex()]->skip()) { next(); } + + // don't show the "create a new instance" title for single pages, this is + // when the instance already exists but some info is missing + ui->title->setText(tr("Setting up instance %1").arg(instanceName)); + setWindowTitle(tr("Setting up an instance %1").arg(instanceName)); } void CreateInstanceDialog::changePage(int d) |
