mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Prevent spurious dirtying
This commit is contained in:
parent
219e350751
commit
a3cb3c0bc3
|
@ -269,6 +269,9 @@
|
||||||
|
|
||||||
- (void) setSongTempo:(int)tempo
|
- (void) setSongTempo:(int)tempo
|
||||||
{
|
{
|
||||||
|
if (tempo == [songTempo intValue])
|
||||||
|
return;
|
||||||
|
|
||||||
[self willChangeSong];
|
[self willChangeSong];
|
||||||
[songTempo autorelease];
|
[songTempo autorelease];
|
||||||
songTempo = [[NSNumber numberWithInt:tempo] retain];
|
songTempo = [[NSNumber numberWithInt:tempo] retain];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user