]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiNomenclature.cpp
Amend f441590c
[lyx.git] / src / frontends / qt4 / GuiNomenclature.cpp
index 7415f7f3dff3f21c446a3ddc4adb4f9cb2cb3ea1..0a52bd1403b8bfff3566672e9857289698d0b4b7 100644 (file)
@@ -70,8 +70,10 @@ bool GuiNomenclature::initialiseParams(std::string const & data)
 }
 
 
-bool GuiNomenclature::checkWidgets() const
+bool GuiNomenclature::checkWidgets(bool readonly) const
 {
+       symbolED->setReadOnly(readonly);
+       descriptionTE->setReadOnly(readonly);
        if (!InsetParamsWidget::checkWidgets())
                return false;
        QString const description = descriptionTE->toPlainText();