diff options
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index ae9a21b76..188a46ea1 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -556,4 +556,16 @@ impHandler0(cleanGraphics) return true; } +impHandler0(cleanFonts) +{ + if (gui) + gui->clearFonts(); + if (debugChatTab) + { + // TRANSLATORS: clear fonts cache message + debugChatTab->chatLog(_("Cache cleaned")); + } + return true; +} + } // namespace Actions |