[LyX/master] Fix indentation
Juergen Spitzmueller
spitz at lyx.org
Thu Feb 11 07:05:38 UTC 2021
commit 456b2b0e8bf808af242c2a2305f0f668aaef69ac
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Thu Feb 11 08:08:37 2021 +0100
Fix indentation
---
src/frontends/qt/GuiDocument.cpp | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index 515d30f..1cbff75 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -1988,17 +1988,17 @@ void GuiDocument::setListingsMessage()
void GuiDocument::listingsPackageChanged(int index)
{
- string const package = lst_packages[index];
- if (package == "Minted" && lyxrc.pygmentize_command.empty()) {
- Alert::warning(_("Pygments driver command not found!"),
- _("The driver command necessary to use the minted package\n"
- "(pygmentize) has not been found. Make sure you have\n"
- "the python-pygments module installed or, if the driver\n"
- "is named differently, to add the following line to the\n"
- "document preamble:\n\n"
- "\\AtBeginDocument{\\renewcommand{\\MintedPygmentize}{driver}}\n\n"
- "where 'driver' is name of the driver command."));
- }
+ string const package = lst_packages[index];
+ if (package == "Minted" && lyxrc.pygmentize_command.empty()) {
+ Alert::warning(_("Pygments driver command not found!"),
+ _("The driver command necessary to use the minted package\n"
+ "(pygmentize) has not been found. Make sure you have\n"
+ "the python-pygments module installed or, if the driver\n"
+ "is named differently, to add the following line to the\n"
+ "document preamble:\n\n"
+ "\\AtBeginDocument{\\renewcommand{\\MintedPygmentize}{driver}}\n\n"
+ "where 'driver' is name of the driver command."));
+ }
}
More information about the lyx-cvs
mailing list