X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FLengthCombo.cpp;h=6eacfbfb36d715d5ae2a2586cde557d7232f3084;hb=1f10969bb5c5f36017bf5ba8671381b09945cf57;hp=f02868449418ded7c100bec96cc82b9c79e7f916;hpb=8db4faa160d0785e6cecf6df5e450daded2e7733;p=lyx.git diff --git a/src/frontends/qt4/LengthCombo.cpp b/src/frontends/qt4/LengthCombo.cpp index f028684494..6eacfbfb36 100644 --- a/src/frontends/qt4/LengthCombo.cpp +++ b/src/frontends/qt4/LengthCombo.cpp @@ -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));