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 setArguments: args];
|
||||
[task setLaunchPath: launch];
|
||||
|
||||
[[self logWin] showWindow: self];
|
||||
[[self logWin] window]; // Load but don't show
|
||||
|
||||
[NSThread detachNewThreadSelector:@selector(logFromFileHandle:) toTarget:logWin
|
||||
withObject:[pipe fileHandleForReading]];
|
||||
|
@ -412,6 +411,7 @@
|
|||
[[self pdfWin] showWindow: self];
|
||||
[pdfWin reloadPDF];
|
||||
} else {
|
||||
[[self logWin] showWindow: self];
|
||||
NSBeep();
|
||||
}
|
||||
[self changedFileWrapper];
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
if (!status) {
|
||||
;
|
||||
} else {
|
||||
[[self logWin] showWindow: self];
|
||||
NSBeep();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user