summaryrefslogtreecommitdiff
path: root/LiteEditor/new_build_tab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LiteEditor/new_build_tab.cpp')
-rw-r--r--LiteEditor/new_build_tab.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/LiteEditor/new_build_tab.cpp b/LiteEditor/new_build_tab.cpp
index fa17c3c7..c26d4134 100644
--- a/LiteEditor/new_build_tab.cpp
+++ b/LiteEditor/new_build_tab.cpp
@@ -1036,6 +1036,12 @@ wxFont NewBuildTab::DoGetFont() const
if(font.IsOk() == false) {
font = wxSystemSettings::GetFont(wxSYS_ANSI_FIXED_FONT);
}
+
+ // if the user selected a font in the settings, use it instead
+ wxFont userFont = m_buildTabSettings.GetBuildFont();
+ if(userFont.IsOk()) {
+ font = userFont;
+ }
return font;
}