]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiLabel.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiLabel.cpp
index 47564a1f05309779d754d4da402ea624a86ebf33..8c46909f9eeed3640c0d2a7df4cbd6e989ba68a5 100644 (file)
@@ -79,6 +79,13 @@ void GuiLabel::applyView()
 }
 
 
+
+void GuiLabel::enableView(bool enable)
+{
+       keywordED->setEnabled(enable);
+}
+
+
 bool GuiLabel::isValid()
 {
        return !keywordED->text().isEmpty();
@@ -105,4 +112,4 @@ Dialog * createGuiLabel(GuiView & lv) { return new GuiLabel(lv); }
 } // namespace frontend
 } // namespace lyx
 
-#include "GuiLabel_moc.cpp"
+#include "moc_GuiLabel.cpp"