Synchronize window titles

This commit is contained in:
Matthias Neeracher 2008-03-30 19:13:17 +00:00
parent 2e9f3cc857
commit b8206f9f13

View File

@ -199,6 +199,16 @@
return song;
}
- (void) setSongTitle:(NSString *)newTitle
{
if (newTitle != songTitle) {
[songTitle release];
songTitle = [newTitle retain];
}
[[self windowControllers] makeObjectsPerformSelector:
@selector(synchronizeWindowTitleWithDocumentName)];
}
- (NSNumber *) songKey
{
const VLProperties & prop = song->fProperties.front();