summaryrefslogtreecommitdiffstats
path: root/win/C#/frmActivityWindow.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-09-13 22:13:53 +0000
committersr55 <[email protected]>2009-09-13 22:13:53 +0000
commitb33262144205a4bd058d92a78fe48b8055b1de27 (patch)
tree2fc02854e2df65942e8b50939261d64ff228c73f /win/C#/frmActivityWindow.cs
parent72e3892f2e47a90ce08ce07ff7f35097795d1125 (diff)
WinGui:
- Fix some tooltips in the options and make the "use m4v" tooltip clearer. - Fix an error in the activity log window where an error message would repeat every few seconds if a log file wasn't found. - Fix main window display on High Dpi Panels. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2819 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmActivityWindow.cs')
-rw-r--r--win/C#/frmActivityWindow.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/C#/frmActivityWindow.cs b/win/C#/frmActivityWindow.cs
index 86ed53d06..8b2135d0b 100644
--- a/win/C#/frmActivityWindow.cs
+++ b/win/C#/frmActivityWindow.cs
@@ -24,6 +24,7 @@ namespace Handbrake
private int _position; // Position in the arraylist reached by the current log output in the rtf box.
private readonly frmMain _mainWin;
private Boolean _lastUpdate;
+ private Boolean fileNotFoundQuickFix;
public frmActivityWindow(string file, EncodeAndQueueHandler eh, frmMain mw)
{
@@ -175,7 +176,13 @@ namespace Handbrake
if (File.Exists(logFile))
File.Copy(logFile, logFile2);
else
+ {
+ if (fileNotFoundQuickFix)
+ return "";
+ fileNotFoundQuickFix = true;
return "\n\n\nERROR: The log file could not be found. \nMaybe you cleared your system's tempory folder or maybe you just havn't run an encode yet. \nTried to find the log file in: " + logFile;
+ }
+
// Open the copied log file for reading
StreamReader sr = new StreamReader(logFile2);