summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp12
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