| 54 | } |
| 55 | |
| 56 | void ExtraParamDialog::on_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { |
| 57 | // The selected argument is wrong for some reason, so just check the selected indexes manually |
| 58 | bool hasSelection = ui->params_listView->selectionModel()->selectedIndexes().empty(); |
| 59 | ui->add_pushButton->setDisabled(hasSelection); |
| 60 | } |
| 61 | |
| 62 | void ExtraParamDialog::showEvent(QShowEvent* event) { |
| 63 | QWidget::showEvent(event); |
nothing calls this directly
no outgoing calls
no test coverage detected