]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiHSpace.cpp
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiHSpace.cpp
index fc09f51dc38a6ec9b35206eb76e5b4493748fa80..57d4e982e0b9647a0fb07a718c257b7fe5f1bf95 100644 (file)
@@ -104,6 +104,8 @@ void GuiHSpace::enableWidgets()
        QString const selection = spacingCO->itemData(spacingCO->currentIndex()).toString();
        bool const custom = selection == "custom";
        valueLE->setEnabled(custom);
+       if (custom)
+               valueLE->setFocus();
        valueL->setEnabled(custom);
        unitCO->setEnabled(custom);
        fillPatternCO->setEnabled(!math_mode_ && selection == "hfill");