mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Keep all comics views in memory, views are going to be created lazily. This should fix the issues with QML context deallocating objects between views switching.
This commit is contained in:
@ -1267,7 +1267,6 @@ void LibraryWindow::loadLibrary(const QString & name)
|
||||
|
||||
void LibraryWindow::loadCoversFromCurrentModel()
|
||||
{
|
||||
comicsViewsManager->comicsView->setModel(new ComicModel()); //TODO fix this
|
||||
comicsViewsManager->comicsView->setModel(comicsModel);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user