empty folder loaded after deleting the last comic in a folder

This commit is contained in:
Luis Ángel San Martín
2014-11-27 12:45:44 +01:00
parent 0c667fd9c4
commit 506d717b5a
4 changed files with 18 additions and 19 deletions

View File

@ -259,6 +259,7 @@ void YACReaderNavigationController::setupConnections()
connect(libraryWindow->listsView,SIGNAL(clicked(QModelIndex)),this,SLOT(selectedList(QModelIndex)));
connect(libraryWindow->historyController,SIGNAL(modelIndexSelected(YACReaderLibrarySourceContainer)),this,SLOT(selectedIndexFromHistory(YACReaderLibrarySourceContainer)));
connect(libraryWindow->emptyFolderWidget,SIGNAL(subfolderSelected(QModelIndex,int)),this,SLOT(selectSubfolder(QModelIndex,int)));
connect(libraryWindow->comicsModel,SIGNAL(isEmpty()),this,SLOT(reselectCurrentFolder()));
}
qulonglong YACReaderNavigationController::folderModelIndexToID(const QModelIndex &mi)