Permalink
Browse files

Fix e6a4326

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 189b750a009b71bc7de021647309d0b0d8c40232
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/MainWindow.cpp
@@ -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()

0 comments on commit 189b750

Please sign in to comment.