diff options
author | sr55 <[email protected]> | 2009-07-05 16:42:33 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-07-05 16:42:33 +0000 |
commit | 57d0985f2d9f377b29e55369cc3a2cae107410c8 (patch) | |
tree | a74092e1236cdcab3712261655f279c5731e7140 /win/C#/frmMain.cs | |
parent | 40b0985abcaea7a7d45676edfb0f472ff356694e (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.cs | 5 |
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);
|