mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-19 10:20:17 -06:00
Make the Edit Cell Dock to update with the selected cell in SQL results
The same connection done for the Browse Data table is done for the SQL results table so they behave in the same way. See issue #481
This commit is contained in:
@@ -1507,7 +1507,7 @@ void MainWindow::executeQuery()
|
||||
disconnect(*conn);
|
||||
|
||||
attachPlot(sqlWidget->getTableResult(), sqlWidget->getModel());
|
||||
connect(sqlWidget->getTableResult(), &ExtendedTableWidget::activated, this, &MainWindow::dataTableSelectionChanged);
|
||||
connect(sqlWidget->getTableResult()->selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)), this, SLOT(dataTableSelectionChanged(QModelIndex)));
|
||||
connect(sqlWidget->getTableResult(), &QTableView::doubleClicked, this, &MainWindow::doubleClickTable);
|
||||
|
||||
auto time_end = std::chrono::high_resolution_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user