]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/LengthCombo.cpp
Add missing initialization
[lyx.git] / src / frontends / qt4 / LengthCombo.cpp
index f02868449418ded7c100bec96cc82b9c79e7f916..6eacfbfb36d715d5ae2a2586cde557d7232f3084 100644 (file)
@@ -98,6 +98,14 @@ void LengthCombo::noPercents()
 }
 
 
+void LengthCombo::removeFontDependent()
+{
+       removeUnit(Length::EM);
+       removeUnit(Length::EX);
+       removeUnit(Length::MU);
+}
+
+
 void LengthCombo::removeUnit(lyx::Length::UNIT unit)
 {
        QString const val = lyx::toqstr(lyx::stringFromUnit(unit));