mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Data Browser font settings now apply to the Edit Cell too
This should address #589
This commit is contained in:
@@ -35,6 +35,12 @@ EditDialog::~EditDialog()
|
||||
|
||||
void EditDialog::reset()
|
||||
{
|
||||
// Set the font for the text and hex editors
|
||||
QFont editorFont(PreferencesDialog::getSettingsValue("databrowser", "font").toString());
|
||||
editorFont.setPointSize(PreferencesDialog::getSettingsValue("databrowser", "fontsize").toInt());
|
||||
ui->editorText->setFont(editorFont);
|
||||
hexEdit->setFont(editorFont);
|
||||
|
||||
curRow = -1;
|
||||
curCol = -1;
|
||||
ui->editorText->clear();
|
||||
|
||||
Reference in New Issue
Block a user