In the document settings allow to immediately switch from one
package to the other for parameters validation without the need
of first applying the changes.
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());
}