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.
This commit is contained in:
Martin Kleusberg
2018-05-16 15:01:22 +02:00
parent 1865272aa8
commit e6a4326e9b

View File

@@ -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()