mirror of
				https://github.com/YACReader/yacreader
				synced 2025-11-04 01:05:06 -05:00 
			
		
		
		
	fixed toolbar title update after rename library
This commit is contained in:
		@ -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
 | 
			
		||||
		{
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user