mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 22:44:56 -04:00
added a little bit more consistency to the navigation history
This commit is contained in:
@ -1531,6 +1531,7 @@ void LibraryWindow::addFolderToCurrentIndex()
|
||||
QModelIndex newIndex = foldersModel->addFolderAtParent(newFolderName,currentIndex);
|
||||
foldersView->setCurrentIndex(foldersModelProxy->mapFromSource(newIndex));
|
||||
navigationController->loadFolderInfo(newIndex);
|
||||
historyController->updateHistory(YACReaderLibrarySourceContainer(newIndex,YACReaderLibrarySourceContainer::Folder));
|
||||
//a new folder is always an empty folder
|
||||
showEmptyFolderView();
|
||||
}
|
||||
|
Reference in New Issue
Block a user