mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Fix e6a4326e9b
Fix the fix for a Qt issue which messes up the table view when using the filters. Without any fix, the rowid column is always shown when changing the filters, but because the filter bar isn't regenerated the filters are all displaced. With the first commit this is fixed, however changing the filters always regenerated the filter bar which in turn deleted the current filter value. With this commit this is fixed. The filters are now working as expected.
This commit is contained in:
@@ -2453,7 +2453,8 @@ void MainWindow::updateFilter(int column, const QString& value)
|
||||
setRecordsetLabel();
|
||||
|
||||
// This seems to be necessary as a workaround for newer Qt versions. Otherwise the rowid column is always shown after changing the filters.
|
||||
showRowidColumn(browseTableSettings[currentlyBrowsedTableName()].showRowid);
|
||||
bool showRowid = browseTableSettings[currentlyBrowsedTableName()].showRowid;
|
||||
ui->dataTable->setColumnHidden(0, !showRowid);
|
||||
}
|
||||
|
||||
void MainWindow::editEncryption()
|
||||
|
||||
Reference in New Issue
Block a user