Permalink
Browse files

Fix filters

Fix a bug that causes the rowid column to be always shown when changing
the filters. I *believe* this was happening since updating to Qt 5.10.
  • Loading branch information...
MKleusberg committed May 16, 2018
1 parent 1865272 commit e6a4326e9bc1d48d027278171e8ab335c1f91e82
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/MainWindow.cpp
@@ -2429,6 +2429,9 @@ void MainWindow::updateFilter(int column, const QString& value)
m_browseTableModel->updateFilter(column, value);
browseTableSettings[currentlyBrowsedTableName()].filterValues[column] = 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);
}

void MainWindow::editEncryption()

0 comments on commit e6a4326

Please sign in to comment.