From 2553b0073f5f63b7e8629154a810ffb7eaa6c366 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Thu, 4 Oct 2018 14:02:01 -0400 Subject: [PATCH] Fix bug #11275. Show module name with description. --- src/frontends/qt4/GuiDocument.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index d60385b041..01892ce444 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -2921,6 +2921,10 @@ void GuiDocument::updateModuleInfo() desc += bformat(_("Modules excluded: %1$s."), pkgdesc); } + if (!desc.empty()) + desc += "\n"; + desc += bformat(_("Filename: %1$s.module."), from_utf8(modName)); + if (!isModuleAvailable(modName)) { if (!desc.empty()) desc += "\n";