mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Only remove specific notifications (duh!)
This commit is contained in:
parent
1839222754
commit
08a756e0ab
6
English.lproj/VLDocument.nib/info.nib
generated
6
English.lproj/VLDocument.nib/info.nib
generated
|
@ -8,10 +8,10 @@
|
||||||
<string>460.0</string>
|
<string>460.0</string>
|
||||||
<key>IBOpenObjects</key>
|
<key>IBOpenObjects</key>
|
||||||
<array>
|
<array>
|
||||||
<integer>216</integer>
|
|
||||||
<integer>196</integer>
|
|
||||||
<integer>5</integer>
|
|
||||||
<integer>144</integer>
|
<integer>144</integer>
|
||||||
|
<integer>196</integer>
|
||||||
|
<integer>216</integer>
|
||||||
|
<integer>5</integer>
|
||||||
</array>
|
</array>
|
||||||
<key>IBSystem Version</key>
|
<key>IBSystem Version</key>
|
||||||
<string>9A412</string>
|
<string>9A412</string>
|
||||||
|
|
BIN
English.lproj/VLDocument.nib/keyedobjects.nib
generated
BIN
English.lproj/VLDocument.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -472,10 +472,12 @@
|
||||||
[self willChangeValueForKey:@"songKey"];
|
[self willChangeValueForKey:@"songKey"];
|
||||||
[self willChangeValueForKey:@"songTime"];
|
[self willChangeValueForKey:@"songTime"];
|
||||||
[self willChangeValueForKey:@"songDivisions"];
|
[self willChangeValueForKey:@"songDivisions"];
|
||||||
|
[self willChangeValueForKey:@"songGroove"];
|
||||||
song->swap(*[savedSong song]);
|
song->swap(*[savedSong song]);
|
||||||
[self didChangeValueForKey:@"songKey"];
|
[self didChangeValueForKey:@"songKey"];
|
||||||
[self didChangeValueForKey:@"songTime"];
|
[self didChangeValueForKey:@"songTime"];
|
||||||
[self didChangeValueForKey:@"songDivisions"];
|
[self didChangeValueForKey:@"songDivisions"];
|
||||||
|
[self didChangeValueForKey:@"songGroove"];
|
||||||
[self didChangeSong];
|
[self didChangeSong];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,8 @@
|
||||||
|
|
||||||
|
|
||||||
- (void)mmaDone:(NSNotification *)notification {
|
- (void)mmaDone:(NSNotification *)notification {
|
||||||
[[NSNotificationCenter defaultCenter] removeObserver: self];
|
[[NSNotificationCenter defaultCenter] removeObserver: self
|
||||||
|
name:NSTaskDidTerminateNotification object:[notification object]];
|
||||||
int status = [[notification object] terminationStatus];
|
int status = [[notification object] terminationStatus];
|
||||||
if (!status) {
|
if (!status) {
|
||||||
;
|
;
|
||||||
|
|
|
@ -51,7 +51,8 @@
|
||||||
|
|
||||||
|
|
||||||
- (void)pdfDone:(NSNotification *)notification {
|
- (void)pdfDone:(NSNotification *)notification {
|
||||||
[[NSNotificationCenter defaultCenter] removeObserver: self];
|
[[NSNotificationCenter defaultCenter] removeObserver: self
|
||||||
|
name:NSTaskDidTerminateNotification object:[notification object]];
|
||||||
int status = [[notification object] terminationStatus];
|
int status = [[notification object] terminationStatus];
|
||||||
if (!status) {
|
if (!status) {
|
||||||
;
|
;
|
||||||
|
|
|
@ -943,8 +943,7 @@ static int8_t sSharpAcc[] = {
|
||||||
removeIndex = 11;
|
removeIndex = 11;
|
||||||
if (removeIndex >= 0)
|
if (removeIndex >= 0)
|
||||||
[fGrooveMenu removeItemAtIndex:removeIndex];
|
[fGrooveMenu removeItemAtIndex:removeIndex];
|
||||||
[[[fGrooveMenu menu] insertItemWithTitle:groove action:@selector(selectGroove:)
|
[fGrooveMenu insertItemWithTitle:groove atIndex:2];
|
||||||
keyEquivalent:@"" atIndex:2] setTarget:self];
|
|
||||||
[fGrooveMenu selectItemAtIndex:2];
|
[fGrooveMenu selectItemAtIndex:2];
|
||||||
NSArray * grooves = [fGrooveMenu itemTitles];
|
NSArray * grooves = [fGrooveMenu itemTitles];
|
||||||
grooves = [grooves subarrayWithRange:NSMakeRange(2, [grooves count]-2)];
|
grooves = [grooves subarrayWithRange:NSMakeRange(2, [grooves count]-2)];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user