]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetInfo.cpp
Improved character count statistics for letter based insets (e.g. the LyX logo).
[features.git] / src / insets / InsetInfo.cpp
index b23255aafea8e7e2b03cbceed6e77801397e1ad2..4edf0eb1e08daae05ce7f0c7bfa5a86ede70de80 100644 (file)
@@ -25,7 +25,6 @@
 #include "LaTeXFeatures.h"
 #include "Language.h"
 #include "LayoutFile.h"
-#include "Length.h"
 #include "LyXAction.h"
 #include "LyXRC.h"
 #include "LyXVC.h"
@@ -45,6 +44,7 @@
 #include "support/FileName.h"
 #include "support/filetools.h"
 #include "support/gettext.h"
+#include "support/Length.h"
 #include "support/Messages.h"
 #include "support/lstrings.h"
 #include "support/qstring_helpers.h"
@@ -759,6 +759,7 @@ bool InsetInfo::forceLocalFontSwitch() const
 {
        return params_.type == InsetInfoParams::MENU_INFO
                || params_.type == InsetInfoParams::SHORTCUTS_INFO
+               || params_.type == InsetInfoParams::SHORTCUT_INFO
                || params_.type == InsetInfoParams::L7N_INFO;
 }