| 30 | auto EditVariableDialog::getVariableValue() const -> QString { return ui->variableValue->text(); } |
| 31 | |
| 32 | void EditVariableDialog::textChanged() { |
| 33 | if (! ui->variableName->text().isEmpty() && ! ui->variableValue->text().isEmpty()) { |
| 34 | ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true); |
| 35 | } else { |
| 36 | ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); |
| 37 | } |
| 38 | } |
nothing calls this directly
no outgoing calls
no test coverage detected