]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/GuiHSpace.cpp
Make space names more standard
[features.git] / src / frontends / qt / GuiHSpace.cpp
index 3c4c62a5d7afc27481fae43f8cf37eab2deaa3bb..bc2696dfc9c252b330bad8aba92328f9ab0f85ac 100644 (file)
@@ -41,7 +41,7 @@ GuiHSpace::GuiHSpace(bool math_mode, QWidget * parent)
        setupUi(this);
 
        spacingCO->clear();
-       spacingCO->addItem(qt_("Interword Space"), "normal");
+       spacingCO->addItem(qt_("Normal Space"), "normal");
        spacingCO->addItem(qt_("Thin Space (1/6 em)"), "thinspace");
        spacingCO->addItem(qt_("Medium Space (2/9 em)"), "medspace");
        spacingCO->addItem(qt_("Thick Space (5/18 em)"), "thickspace");
@@ -112,6 +112,10 @@ void GuiHSpace::enableWidgets() const
                || (selection == "hfill" && no_pattern) || custom;
        keepCB->setEnabled(enable_keep);
        keepL->setEnabled(enable_keep);
+       // When Non-Breaking is disabled indicate that this is a non-breaking state
+       // by enabling the check-box
+       if (!enable_keep)
+               keepCB->setCheckState(Qt::Checked);
 }