Try setting a saner default row height in the data browser

Maybe this helps with issue #419.
This commit is contained in:
Martin Kleusberg
2017-04-10 15:07:51 +02:00
parent f11c0181ca
commit 760ef092cd
3 changed files with 16 additions and 3 deletions

View File

@@ -1692,9 +1692,7 @@ void MainWindow::loadExtensionsFromSettings()
void MainWindow::reloadSettings()
{
// Set data browser font
QFont dataBrowserFont(Settings::getValue("databrowser", "font").toString());
dataBrowserFont.setPointSize(Settings::getValue("databrowser", "fontsize").toInt());
ui->dataTable->setFont(dataBrowserFont);
ui->dataTable->reloadSettings();
// Set prefetch sizes for lazy population of table models
m_browseTableModel->setChunkSize(Settings::getValue("db", "prefetchsize").toInt());