mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed toolbar title update after rename library
This commit is contained in:
parent
57c251ae7f
commit
c146481399
@ -1246,6 +1246,10 @@ void LibraryWindow::rename(QString newName)
|
|||||||
selectedLibrary->renameCurrentLibrary(newName);
|
selectedLibrary->renameCurrentLibrary(newName);
|
||||||
saveLibraries();
|
saveLibraries();
|
||||||
renameLibraryDialog->close();
|
renameLibraryDialog->close();
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
|
if(!foldersView->currentIndex().isValid())
|
||||||
|
libraryToolBar->setCurrentFolderName(selectedLibrary->currentText());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user