diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2021-01-09 13:56:21 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2021-01-09 13:56:21 -0500 |
| commit | ea76c337105cf76e25dfbd95a68c0658b4cd5b7e (patch) | |
| tree | 56fd8634b9f5f16e9ccbef1bf2d66e464b8e99a7 | |
| parent | e3e54bc8d3d4a5219c7f2c1f6338b7ecc5d1e8ec (diff) | |
fix skipping pages in single page mode
in single page mode, ready() can return false for some pages like the instance type if the selected page is past it, so skip() has to be checked too
| -rw-r--r-- | src/createinstancedialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/createinstancedialog.cpp b/src/createinstancedialog.cpp index a4e3c336..9f0edf96 100644 --- a/src/createinstancedialog.cpp +++ b/src/createinstancedialog.cpp @@ -455,7 +455,7 @@ void CreateInstanceDialog::updateNavigation() bool CreateInstanceDialog::canNext() const { const auto i = ui->pages->currentIndex(); - return m_pages[i]->ready(); + return m_pages[i]->skip() || m_pages[i]->ready(); } bool CreateInstanceDialog::canBack() const |
