diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index cba3f3e025..e5f51568a3 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -1551,7 +1551,9 @@ QString GuiDocument::validateListingsParameters() if (listingsModule->bypassCB->isChecked()) return QString(); string params = fromqstr(listingsModule->listingsED->toPlainText()); - return toqstr(InsetListingsParams(params).validate()); + InsetListingsParams lstparams(params); + lstparams.setMinted(listingsModule->mintedCB->isChecked()); + return toqstr(lstparams.validate()); }