Fix header case

This commit is contained in:
Juergen Spitzmueller 2019-03-21 19:31:46 +01:00
parent 7403fd2f88
commit 9a473a4954

View File

@ -92,7 +92,7 @@ QMap<QString, QString> GuiLyXFiles::getFiles()
available_languages_.insert(li.key(), li.value());
localization = cat;
int sc = relpath.indexOf('/', s + 1);
cat = (sc == -1) ? QString() : relpath.mid(s + 1, sc - s - 1);
cat = (sc == -1) ? qt_("General") : relpath.mid(s + 1, sc - s - 1);
s = sc;
}
if (s != -1) {