| 123 | } |
| 124 | |
| 125 | void ImportDialog::setCurrentIndex(const QModelIndex& index) { |
| 126 | QDEBUG(Q_FUNC_INFO << ", index =" << index); |
| 127 | cbAddTo->setCurrentModelIndex(index); |
| 128 | QDEBUG(Q_FUNC_INFO << ", cbAddTo->currentModelIndex() =" << cbAddTo->currentModelIndex()); |
| 129 | checkOkButton(); |
| 130 | } |
| 131 | |
| 132 | void ImportDialog::currentModelIndexChanged(const QModelIndex& index) { |
| 133 | auto aspect = static_cast<AbstractAspect*>(index.internalPointer()); |