mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
temporal fix for opening siblings crash
This commit is contained in:
parent
b776a1d3bd
commit
07ce397ec5
@ -942,6 +942,8 @@ void Render::pageRawDataReady(int page)
|
|||||||
{
|
{
|
||||||
for(int i=0;i<pagesEmited.size();i++)
|
for(int i=0;i<pagesEmited.size();i++)
|
||||||
{
|
{
|
||||||
|
if(pagesEmited.at(i)>= pagesReady.size())
|
||||||
|
return;
|
||||||
pagesReady[pagesEmited.at(i)] = true;
|
pagesReady[pagesEmited.at(i)] = true;
|
||||||
if(pagesEmited.at(i) == currentIndex)
|
if(pagesEmited.at(i) == currentIndex)
|
||||||
update();
|
update();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user