From 77f7bdb37c5c12ec5378a5c98f5bbb90f9b9f81d Mon Sep 17 00:00:00 2001 From: Jinhao Date: Tue, 14 Nov 2017 02:06:48 +0800 Subject: [PATCH] fix bug that a font lapse after widget resizes --- source/gui/detail/window_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/gui/detail/window_manager.cpp b/source/gui/detail/window_manager.cpp index 476b657b..4bfd1900 100644 --- a/source/gui/detail/window_manager.cpp +++ b/source/gui/detail/window_manager.cpp @@ -950,6 +950,7 @@ namespace detail { //If allocation fails, here throws std::bad_alloc. graph.make(sz); + graph.typeface(wd->drawer.graphics.typeface()); if (category::flags::root == wd->other.category) root_graph.make(sz); }