Fix checking config again after going back in wizard
This commit is contained in:
parent
b01f636a33
commit
95d2d4ce1a
|
@ -526,9 +526,10 @@ void DetectionWizardPage::initializePage()
|
||||||
}
|
}
|
||||||
if (!m_setupDetection) {
|
if (!m_setupDetection) {
|
||||||
m_setupDetection = &wizard->setupDetection();
|
m_setupDetection = &wizard->setupDetection();
|
||||||
connect(m_setupDetection, &SetupDetection::done, this, &DetectionWizardPage::continueIfDone);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_setupDetection->reset();
|
m_setupDetection->reset();
|
||||||
|
connect(m_setupDetection, &SetupDetection::done, this, &DetectionWizardPage::continueIfDone);
|
||||||
emit completeChanged();
|
emit completeChanged();
|
||||||
QTimer::singleShot(0, this, &DetectionWizardPage::tryToConnect);
|
QTimer::singleShot(0, this, &DetectionWizardPage::tryToConnect);
|
||||||
}
|
}
|
||||||
|
@ -543,6 +544,9 @@ void DetectionWizardPage::cleanupPage()
|
||||||
|
|
||||||
void DetectionWizardPage::refresh()
|
void DetectionWizardPage::refresh()
|
||||||
{
|
{
|
||||||
|
if (m_setupDetection && !m_setupDetection->isDone()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
initializePage();
|
initializePage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue