mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Add method to YACReaderContentViewsManager to update the current content view
This commit is contained in:
@ -67,6 +67,17 @@ QWidget *YACReaderContentViewsManager::containerWidget()
|
||||
return comicsViewStack;
|
||||
}
|
||||
|
||||
void YACReaderContentViewsManager::updateCurrentContentView()
|
||||
{
|
||||
if (comicsViewStack->currentWidget() == comicsView) {
|
||||
comicsView->reloadContent();
|
||||
}
|
||||
|
||||
if (comicsViewStack->currentWidget() == folderContentView) {
|
||||
folderContentView->reloadContent();
|
||||
}
|
||||
}
|
||||
|
||||
void YACReaderContentViewsManager::updateCurrentComicView()
|
||||
{
|
||||
if (comicsViewStack->currentWidget() == comicsView) {
|
||||
|
Reference in New Issue
Block a user