diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp index be87772cd5f53..b33657f4aefe3 100644 --- a/main/gui/source/window/window.cpp +++ b/main/gui/source/window/window.cpp @@ -1,5 +1,4 @@ #include "window.hpp" -#include "hex/ui/banner.hpp" #include @@ -18,6 +17,7 @@ #include #include +#include #include #include @@ -309,8 +309,7 @@ namespace hex { ImGui_ImplOpenGL3_CreateFontsTexture(); } - // Make the first font in the list the default UI font - currentFont = fontDefinitions.begin()->second->ContainerAtlas; + currentFont = ImHexApi::Fonts::getFont("hex.fonts.font.default")->ContainerAtlas; } // Start new ImGui Frame