]> git.lyx.org Git - lyx.git/commitdiff
Fix indentation
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Feb 2021 07:08:37 +0000 (08:08 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Feb 2021 07:08:37 +0000 (08:08 +0100)
src/frontends/qt/GuiDocument.cpp

index 515d30f592fcc36218f76bcfc7b01db9ddca285c..1cbff7554d61d2657a4d61e2abb181f1a23e3cce 100644 (file)
@@ -1988,17 +1988,17 @@ void GuiDocument::setListingsMessage()
 
 void GuiDocument::listingsPackageChanged(int index)
 {
 
 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."));
+       }
 }
 
 
 }