mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Show log on error only
This commit is contained in:
parent
b6c9141e52
commit
7cbbe5e050
|
@ -369,8 +369,7 @@
|
||||||
[task setStandardError: pipe];
|
[task setStandardError: pipe];
|
||||||
[task setArguments: args];
|
[task setArguments: args];
|
||||||
[task setLaunchPath: launch];
|
[task setLaunchPath: launch];
|
||||||
|
[[self logWin] window]; // Load but don't show
|
||||||
[[self logWin] showWindow: self];
|
|
||||||
|
|
||||||
[NSThread detachNewThreadSelector:@selector(logFromFileHandle:) toTarget:logWin
|
[NSThread detachNewThreadSelector:@selector(logFromFileHandle:) toTarget:logWin
|
||||||
withObject:[pipe fileHandleForReading]];
|
withObject:[pipe fileHandleForReading]];
|
||||||
|
@ -412,6 +411,7 @@
|
||||||
[[self pdfWin] showWindow: self];
|
[[self pdfWin] showWindow: self];
|
||||||
[pdfWin reloadPDF];
|
[pdfWin reloadPDF];
|
||||||
} else {
|
} else {
|
||||||
|
[[self logWin] showWindow: self];
|
||||||
NSBeep();
|
NSBeep();
|
||||||
}
|
}
|
||||||
[self changedFileWrapper];
|
[self changedFileWrapper];
|
||||||
|
|
|
@ -58,6 +58,7 @@
|
||||||
if (!status) {
|
if (!status) {
|
||||||
;
|
;
|
||||||
} else {
|
} else {
|
||||||
|
[[self logWin] showWindow: self];
|
||||||
NSBeep();
|
NSBeep();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user