diff options
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r-- | src/gui/widgets/widget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index 92b345cea..3601570cb 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -644,6 +644,9 @@ class Widget notfinal : public Widget2 static Font *getGloablFont() { return mGlobalFont; } + static void cleanGlobalFont() + { mGlobalFont = nullptr; } + /** * Sets the font for the widget. If NULL is passed, the global font * will be used. |