forked from qt-creator/qt-creator
Don't toggle "Disable in subdirectories" checkbox on every change in Gui
Rename the "checked" arg into "disabled", for clarity. Task-number: QTCREATORBUG-25274 Change-Id: I652d769d4a0737787e90debde2ffaa28e8cd1870 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -355,8 +355,8 @@ QWidget *MakeStep::createConfigWidget()
|
|||||||
disableInSubDirsLabel->hide();
|
disableInSubDirsLabel->hide();
|
||||||
disableInSubDirsCheckBox->hide();
|
disableInSubDirsCheckBox->hide();
|
||||||
} else {
|
} else {
|
||||||
connect(disableInSubDirsCheckBox, &QCheckBox::toggled, this, [this](bool checked) {
|
connect(disableInSubDirsCheckBox, &QCheckBox::toggled, this, [this](bool disabled) {
|
||||||
m_enabledForSubDirs = checked;
|
m_enabledForSubDirs = !disabled;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user