forked from qt-creator/qt-creator
Python: Use a connect that will remain valid
... after a StringAspect/FileAspect split, instead of relying on the current inheritance. Change-Id: I7dd91f402636d35a15e9d1618b73c0981777b06e Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -109,7 +109,7 @@ PythonWizardPage::PythonWizardPage(const QList<QPair<QString, QVariant>> &pySide
|
||||
m_stateLabel->setWordWrap(true);
|
||||
m_stateLabel->setFilled(true);
|
||||
m_stateLabel->setType(InfoLabel::Error);
|
||||
connect(&m_venvPath, &StringAspect::validChanged, this, &PythonWizardPage::updateStateLabel);
|
||||
connect(&m_venvPath, &FilePathAspect::validChanged, this, &PythonWizardPage::updateStateLabel);
|
||||
connect(&m_createVenv, &BaseAspect::changed, this, &PythonWizardPage::updateStateLabel);
|
||||
|
||||
Form {
|
||||
|
Reference in New Issue
Block a user