diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index 81ed5730..143d08b4 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -140,6 +140,7 @@ void Viewer::createConnections() connect(render,SIGNAL(errorOpening()),this,SLOT(showMessageErrorOpening())); connect(render,SIGNAL(numPages(unsigned int)),goToFlow,SLOT(setNumSlides(unsigned int))); connect(render,SIGNAL(numPages(unsigned int)),goToDialog,SLOT(setNumPages(unsigned int))); + connect(render,SIGNAL(numPages(unsigned int)),this,SLOT(updateInformation())); connect(render,SIGNAL(imageLoaded(int,QByteArray)),goToFlow,SLOT(setImageReady(int,QByteArray))); connect(render,SIGNAL(currentPageReady()),this,SLOT(updatePage())); connect(render,SIGNAL(processingPage()),this,SLOT(setLoadingMessage()));