X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiLabel.cpp;h=8c46909f9eeed3640c0d2a7df4cbd6e989ba68a5;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=47564a1f05309779d754d4da402ea624a86ebf33;hpb=5158ef3ee93fa060491b3aac2603d1b272178476;p=lyx.git diff --git a/src/frontends/qt4/GuiLabel.cpp b/src/frontends/qt4/GuiLabel.cpp index 47564a1f05..8c46909f9e 100644 --- a/src/frontends/qt4/GuiLabel.cpp +++ b/src/frontends/qt4/GuiLabel.cpp @@ -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"