#include "insets/InsetInfo.h"
+#include "support/debug.h"
#include "support/gettext.h"
#include "support/lstrings.h"
}
+bool GuiInfo::checkWidgets(bool readonly) const
+{
+ nameLE->setReadOnly(readonly);
+ typeCO->setEnabled(!readonly);
+ if (!InsetParamsWidget::checkWidgets())
+ return false;
+ return !nameLE->text().isEmpty();
+}
+
+
} // namespace frontend
} // namespace lyx