Skip to content

Commit

Permalink
fix toc for folder of images showing first file name for all files (f…
Browse files Browse the repository at this point in the history
…ixes #3788)
  • Loading branch information
kjk committed Oct 24, 2023
1 parent ce2ef21 commit 824407d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EngineImages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ TocTree* EngineImageDir::GetToc() {
TocItem* root = newImageDirTocItem(nullptr, label, 1);
root->id = 1;
for (int i = 2; i <= PageCount(); i++) {
label = GetPageLabel(1);
label = GetPageLabel(i);
TocItem* item = newImageDirTocItem(root, label, i);
item->id = i;
root->AddSiblingAtEnd(item);
Expand Down

0 comments on commit 824407d

Please sign in to comment.