Allow setting page number from int value

This commit is contained in:
G.K.MacGregor
2021-08-08 19:34:14 +01:00
parent c356d0f5ae
commit 798630bd50
4 changed files with 18 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ void loadTTI(QFile *inFile, TeletextDocument *document)
document->insertSubPage(document->numberOfSubPages(), false);
loadingPage = document->subPage(document->numberOfSubPages()-1);
} else {
document->setPageNumber(inLine.mid(3,3));
document->setPageNumberFromString(inLine.mid(3,3));
firstSubPageAlreadyFound = true;
}
}