forked from qt-creator/qt-creator
RunConfiguration: Centralize enabled state handling
Centralize handling of enabled state of RunConfiguration widgets. Remove code that does the same thing in all the different run configuration widgets. Change-Id: I175d7e19d031bd28a2b19cd825e0b6568da19bc3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -270,8 +270,6 @@ PythonRunConfigurationWidget::PythonRunConfigurationWidget(PythonRunConfiguratio
|
||||
auto vbx = new QVBoxLayout(this);
|
||||
vbx->setMargin(0);
|
||||
vbx->addWidget(m_detailsContainer);
|
||||
|
||||
setEnabled(runConfiguration->isEnabled());
|
||||
}
|
||||
|
||||
class PythonRunConfigurationFactory : public IRunConfigurationFactory
|
||||
|
||||
Reference in New Issue
Block a user