mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
fixed regression in main tool bar title (not being shown)
This commit is contained in:
@ -1732,6 +1732,16 @@ void LibraryWindow::onAddComicsToLabel()
|
||||
comicsModel->addComicsToLabel(comics,labelId);
|
||||
}
|
||||
|
||||
void LibraryWindow::setToolbarTitle(const QModelIndex &modelIndex)
|
||||
{
|
||||
#ifndef Q_OS_MAC
|
||||
if(!modelIndex.isValid())
|
||||
libraryToolBar->setCurrentFolderName(selectedLibrary->currentText());
|
||||
else
|
||||
libraryToolBar->setCurrentFolderName(modelIndex.data().toString());
|
||||
#endif
|
||||
}
|
||||
|
||||
void LibraryWindow::selectSubfolder(const QModelIndex &mi, int child)
|
||||
{
|
||||
QModelIndex dest = foldersModel->index(child,0,mi);
|
||||
|
Reference in New Issue
Block a user