mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
Warn re mixed layouts only for export (#10645)
Do not warn about mixing title layouts while editing with the code
preview pane open.
This commit amends 0b1cf133
.
This commit is contained in:
parent
974d33ad01
commit
08a840b139
@ -265,7 +265,7 @@ public:
|
|||||||
bool isLastPar;
|
bool isLastPar;
|
||||||
|
|
||||||
|
|
||||||
/** whether or not do actual file copying and image conversion
|
/** whether or not to do actual file copying and image conversion
|
||||||
* This mode will be used to preview the source code
|
* This mode will be used to preview the source code
|
||||||
*/
|
*/
|
||||||
bool dryrun;
|
bool dryrun;
|
||||||
|
@ -1341,7 +1341,7 @@ void latexParagraphs(Buffer const & buf,
|
|||||||
|
|
||||||
if (layout.intitle) {
|
if (layout.intitle) {
|
||||||
if (already_title) {
|
if (already_title) {
|
||||||
if (!gave_layout_warning) {
|
if (!gave_layout_warning && !runparams.dryrun) {
|
||||||
gave_layout_warning = true;
|
gave_layout_warning = true;
|
||||||
frontend::Alert::warning(_("Error in latexParagraphs"),
|
frontend::Alert::warning(_("Error in latexParagraphs"),
|
||||||
bformat(_("You are using at least one "
|
bformat(_("You are using at least one "
|
||||||
|
Loading…
Reference in New Issue
Block a user