From e5b2062e0fa95aba7f1413124f70a813584e8781 Mon Sep 17 00:00:00 2001 From: Ernie Pasveer Date: Thu, 21 Nov 2024 18:57:31 -0600 Subject: [PATCH] Fixed setting/saving font settings. --- CHANGELOG.md | 1 + src/SeerMainWindow.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45d799f..4c9e1fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ * Show stack as a hex dump, with options to view as short, int, long, ascii, ... * The "go to address" in the Assembly view now works if address it outside current assembly view. +* Fixed regression when setting/saving the editor font setting. ## [2.4] - 2024-03-18 * Changed main icon to a more license friendly one. diff --git a/src/SeerMainWindow.cpp b/src/SeerMainWindow.cpp index 181df45..a6d6e48 100644 --- a/src/SeerMainWindow.cpp +++ b/src/SeerMainWindow.cpp @@ -717,6 +717,7 @@ void SeerMainWindow::handleSettingsConfiguration () { gdbWidget->setDprintfStyle(dlg.dprintfStyle()); gdbWidget->setDprintfFunction(dlg.dprintfFunction()); gdbWidget->setDprintfChannel(dlg.dprintfChannel()); + gdbWidget->editorManager()->setEditorFont(dlg.editorFont()); gdbWidget->editorManager()->setEditorTabSize(dlg.editorTabSize()); gdbWidget->editorManager()->setEditorHighlighterSettings(dlg.editorHighlighterSettings()); gdbWidget->editorManager()->setEditorHighlighterEnabled(dlg.editorHighlighterEnabled());