Loading isis/src/qisis/objs/JigsawSetupDialog/JigsawSetupDialog.cpp +10 −1 Original line number Diff line number Diff line Loading @@ -1494,8 +1494,10 @@ namespace Isis { } m_ui->okCloseButtonBox->button(QDialogButtonBox::Ok)->setEnabled(tablesAreValid); if (!m_ui->treeView->selectionModel()->selectedRows().isEmpty()) { m_ui->applySettingsPushButton->setEnabled(tablesAreValid); } } /** Loading Loading @@ -1756,6 +1758,13 @@ namespace Isis { void JigsawSetupDialog::treeViewSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected) { m_ui->applySettingsPushButton->setEnabled(!selected.isEmpty()); // QModelIndex displayIndex = selected.indexes()[0]; // if (displayIndex) { // QModelIndex sourceIndex = m_ui->treeView->model()->mapToSource(displayIndex); // } } Loading Loading
isis/src/qisis/objs/JigsawSetupDialog/JigsawSetupDialog.cpp +10 −1 Original line number Diff line number Diff line Loading @@ -1494,8 +1494,10 @@ namespace Isis { } m_ui->okCloseButtonBox->button(QDialogButtonBox::Ok)->setEnabled(tablesAreValid); if (!m_ui->treeView->selectionModel()->selectedRows().isEmpty()) { m_ui->applySettingsPushButton->setEnabled(tablesAreValid); } } /** Loading Loading @@ -1756,6 +1758,13 @@ namespace Isis { void JigsawSetupDialog::treeViewSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected) { m_ui->applySettingsPushButton->setEnabled(!selected.isEmpty()); // QModelIndex displayIndex = selected.indexes()[0]; // if (displayIndex) { // QModelIndex sourceIndex = m_ui->treeView->model()->mapToSource(displayIndex); // } } Loading