summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-07-05 16:42:33 +0000
committersr55 <[email protected]>2009-07-05 16:42:33 +0000
commit57d0985f2d9f377b29e55369cc3a2cae107410c8 (patch)
treea74092e1236cdcab3712261655f279c5731e7140 /win/C#/frmMain.cs
parent40b0985abcaea7a7d45676edfb0f472ff356694e (diff)
WinGui:
- Minor UI fixes related to update checking and window maximize / scrolling git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2667 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 69e850a3a..1b215b396 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -389,6 +389,7 @@ namespace Handbrake
}
private void mnu_UpdateCheck_Click(object sender, EventArgs e)
{
+ lbl_updateCheck.Visible = true;
Main.BeginCheckForUpdates(new AsyncCallback(updateCheckDoneMenu), false);
}
private void updateCheckDoneMenu(IAsyncResult result)
@@ -399,14 +400,12 @@ namespace Handbrake
Invoke(new MethodInvoker(() => updateCheckDoneMenu(result)));
return;
}
-
UpdateCheckInformation info;
-
try
{
// Get the information about the new build, if any, and close the window
info = Main.EndCheckForUpdates(result);
- lbl_updateCheck.Visible = true;
+
if (info.NewVersionAvailable && info.BuildInformation != null)
{
frmUpdater updateWindow = new frmUpdater(info.BuildInformation);