mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
more fixes (correct filename, and repair view file)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23555 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8675175492
commit
d1aff33dd5
@ -149,7 +149,7 @@ void GuiTexInfo::enableViewPB()
|
||||
void GuiTexInfo::updateStyles(TexFileType type)
|
||||
{
|
||||
static QString const filenames[] = {
|
||||
"clsFile.lst", "styFiles.lst", "bstFiles.lst"
|
||||
"clsFiles.lst", "styFiles.lst", "bstFiles.lst"
|
||||
};
|
||||
|
||||
QString const filename = filenames[type];
|
||||
|
@ -246,6 +246,7 @@ QStringList texFileList(QString const & filename)
|
||||
QSet<QString> set;
|
||||
for (size_t i = 0; i != doclist.size(); ++i) {
|
||||
QString file = toqstr(doclist[i]);
|
||||
file.replace("\r", "");
|
||||
while (file.contains("//"))
|
||||
file.replace("//", "/");
|
||||
if (!file.isEmpty())
|
||||
|
Loading…
Reference in New Issue
Block a user