mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
MacPDF: Show correct page number in title bar after restore
This commit is contained in:
parent
e5283cd648
commit
a0b939cef4
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ static NSBitmapImageRep* ns_from_gfx(NonnullRefPtr<Gfx::Bitmap> bitmap_p)
|
|||
_page_index = min(max(0, page_index), _doc->get_page_count() - 1);
|
||||
NSLog(@"encodeRestorableStateWithCoder restored %d", _page_index);
|
||||
[self invalidateCachedBitmap];
|
||||
[_delegate pageChanged];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue