]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiERT.cpp
Use QFontMetrics information for underlines (and friends) width and position
[lyx.git] / src / frontends / qt4 / GuiERT.cpp
index cc9f984b9d182278a1af61fdfc00785b03650e68..8fc92e22505ccbf4db88df349cb7fe8e3eca0846 100644 (file)
@@ -58,6 +58,14 @@ void GuiERT::paramsToDialog(Inset const * inset)
        }
 }
 
+
+bool GuiERT::checkWidgets(bool readonly) const
+{
+       ertBG->setEnabled(!readonly);
+       return InsetParamsWidget::checkWidgets();
+}
+
+
 } // namespace frontend
 } // namespace lyx