Skip to content


Fix e6a4326
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MKleusberg committed May 20, 2018
1 parent a117c11 commit 189b750
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2453,7 +2453,8 @@ void MainWindow::updateFilter(int column, const QString& value)

// This seems to be necessary as a workaround for newer Qt versions. Otherwise the rowid column is always shown after changing the filters.
bool showRowid = browseTableSettings[currentlyBrowsedTableName()].showRowid;
ui->dataTable->setColumnHidden(0, !showRowid);

void MainWindow::editEncryption()
Expand Down

0 comments on commit 189b750

Please sign in to comment.