Font change in Browse Data table not applied to RTL Text editor

See issue #2295
This commit is contained in:
mgrojo
2020-06-22 12:39:52 +02:00
parent efb5b1a07a
commit a803069d5e
+5
View File
@@ -1082,6 +1082,11 @@ void EditDialog::reloadSettings()
hexFont.setPointSize(Settings::getValue("databrowser", "fontsize").toInt());
hexEdit->setFont(hexFont);
// Set the databrowser font for the RTL text editor.
QFont textFont(Settings::getValue("databrowser", "font").toString());
textFont.setPointSize(Settings::getValue("databrowser", "fontsize").toInt());
ui->qtEdit->setFont(textFont);
ui->editCellToolbar->setToolButtonStyle(static_cast<Qt::ToolButtonStyle>
(Settings::getValue("General", "toolbarStyleEditCell").toInt()));