diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index 029971f8..f9210aa2 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -1246,6 +1246,10 @@ void LibraryWindow::rename(QString newName) selectedLibrary->renameCurrentLibrary(newName); saveLibraries(); renameLibraryDialog->close(); +#ifndef Q_OS_MAC + if(!foldersView->currentIndex().isValid()) + libraryToolBar->setCurrentFolderName(selectedLibrary->currentText()); +#endif } else {