mirror of
https://github.com/YACReader/yacreader
synced 2025-11-15 06:22:49 -05: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