X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiDocument.cpp;h=614ac0a49e38cba13703c902e149d8ce99670403;hb=8a69ffd3bfaa4ab23b281a38b9a65f0a8550c997;hp=cb9aefaa8f5e4dfce0da85ebd0df3b3330127b14;hpb=b749e175c60c1c1f785cd9418fff8934fe2cffbe;p=features.git diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index cb9aefaa8f..614ac0a49e 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -1282,16 +1282,6 @@ void GuiDocument::classChanged() setLayoutComboByIDString(bp_.baseClassID()); return; } - } else if (prefixIs(classname, LayoutFileList::embeddedPrefix)) { - int const ret = Alert::prompt(_("Embedded layout"), - _("The layout file you have selected is an embedded layout that\n" - "is embedded to a buffer. You cannot make use of it unless\n" - "it is already embedded to this buffer.\n"), - 1, 1, _("&Set Layout"), _("&Cancel")); - if (ret == 1) { - setLayoutComboByIDString(bp_.baseClassID()); - return; - } } // FIXME Note that by doing things this way, we load the TextClass // as soon as it is selected. So, if you use the scroll wheel when