Add selecting fields in Execute SQL tab for Edit Cell dock via keyboard

See issue #481.
This commit is contained in:
Martin Kleusberg
2017-05-19 15:13:57 +02:00
parent b7cd1c7dbd
commit 462c252656

View File

@@ -1047,8 +1047,7 @@ void MainWindow::executeQuery()
sqlWidget->finishExecution(statusMessage);
plotDock->updatePlot(sqlWidget->getModel());
connect(sqlWidget->getTableResult(), SIGNAL(clicked(QModelIndex)), this, SLOT(dataTableSelectionChanged(QModelIndex)));
connect(sqlWidget->getTableResult(), &ExtendedTableWidget::activated, this, &MainWindow::dataTableSelectionChanged);
connect(sqlWidget->getTableResult(), SIGNAL(doubleClicked(QModelIndex)), this, SLOT(doubleClickTable(QModelIndex)));
if(!modified && !wasdirty)