mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Use exact filter when jumping to referenced row
Ctrl+Shift+Click jumps from a foreign key cell to its referenced row in the other table. It is only exactly one row if we filter for equality. It will be also faster.
This commit is contained in:
@@ -2723,7 +2723,7 @@ void MainWindow::jumpToRow(const sqlb::ObjectIdentifier& table, QString column,
|
||||
populateTable();
|
||||
|
||||
// Set filter
|
||||
ui->dataTable->filterHeader()->setFilter(column_index+1, value);
|
||||
ui->dataTable->filterHeader()->setFilter(column_index+1, "=" + value);
|
||||
}
|
||||
|
||||
void MainWindow::showDataColumnPopupMenu(const QPoint& pos)
|
||||
|
||||
Reference in New Issue
Block a user