Also apply table view settings to the SQL result tables

Use the same font settings for the result table views in the Execute SQL
tabs as for the Browse Data table view.

See issue #1240.
This commit is contained in:
Martin Kleusberg
2017-11-23 17:15:29 +01:00
parent 0d7ca9b5be
commit 8687bfa3c3

View File

@@ -125,8 +125,9 @@ void SqlExecutionArea::saveAsView()
void SqlExecutionArea::reloadSettings()
{
// Reload editor settings
// Reload editor and table settings
ui->editEditor->reloadSettings();
ui->tableResult->reloadSettings();
// Set font
QFont logfont(Settings::getValue("editor", "font").toString());