Force rebuild of pdf on size changes

This commit is contained in:
Matthias Neeracher 2008-01-27 21:59:51 +00:00
parent f2d286643b
commit 4b3ba05f3a

View File

@ -265,18 +265,24 @@
{ {
[[[self undoManager] prepareWithInvocationTarget:self] setChordSize:chordSize]; [[[self undoManager] prepareWithInvocationTarget:self] setChordSize:chordSize];
chordSize = size; chordSize = size;
[validTmpFiles removeObjectForKey:@"ly"];
[validTmpFiles removeObjectForKey:@"pdf"];
} }
- (void) setLyricSize:(float)size - (void) setLyricSize:(float)size
{ {
[[[self undoManager] prepareWithInvocationTarget:self] setLyricSize:lyricSize]; [[[self undoManager] prepareWithInvocationTarget:self] setLyricSize:lyricSize];
lyricSize = size; lyricSize = size;
[validTmpFiles removeObjectForKey:@"ly"];
[validTmpFiles removeObjectForKey:@"pdf"];
} }
- (void) setStaffSize:(float)size - (void) setStaffSize:(float)size
{ {
[[[self undoManager] prepareWithInvocationTarget:self] setStaffSize:staffSize]; [[[self undoManager] prepareWithInvocationTarget:self] setStaffSize:staffSize];
staffSize = size; staffSize = size;
[validTmpFiles removeObjectForKey:@"ly"];
[validTmpFiles removeObjectForKey:@"pdf"];
} }
- (int) repeatVolta - (int) repeatVolta