1
0
espelhamento de https://github.com/microtherion/VocalEasel.git sincronizado 2025-05-15 09:14:29 +00:00

Show log on error only

Esse commit está contido em:
Matthias Neeracher 2007-04-18 05:28:06 +00:00
commit 7cbbe5e050
2 arquivos alterados com 3 adições e 2 exclusões

@ -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();
} }
} }