@@ -294,7 +294,7 @@ await this.ShowMessageAsync(Program.Translations.Get("FailedCheck"),
294
294
var message = string . Format ( Program . Translations . Get ( "VersionYour" ) ,
295
295
VersionHelper . GetAssemblyVersion ( ) ) ;
296
296
#endif
297
- await this . ShowMessageAsync ( Program . Translations . Get ( "VersUpToDate" ) ,
297
+ await this . ShowMessageAsync ( Program . Translations . Get ( "VersUpToDate" ) ,
298
298
message , MessageDialogStyle . Affirmative , MetroDialogOptions ) ;
299
299
}
300
300
}
@@ -305,7 +305,10 @@ private async void Changelog_Click(object sender, RoutedEventArgs e)
305
305
var dialog = await this . ShowProgressAsync ( "Retrieving changelog..." , "Please wait..." ) ;
306
306
dialog . SetIndeterminate ( ) ;
307
307
308
- await UpdateCheck . Check ( ) ;
308
+ if ( Program . UpdateStatus . AllReleases == null )
309
+ {
310
+ await UpdateCheck . Check ( ) ;
311
+ }
309
312
var status = Program . UpdateStatus ;
310
313
311
314
await dialog . CloseAsync ( ) ;
@@ -327,9 +330,9 @@ private void MenuButton_Action(object sender, RoutedEventArgs e)
327
330
case 2 : Server_Start ( ) ; break ;
328
331
}
329
332
}
330
- #endregion
333
+ #endregion
331
334
332
- #region Methods
335
+ #region Methods
333
336
/// <summary>
334
337
/// Loads the input gesture texts to the menu items.
335
338
/// </summary>
@@ -448,6 +451,6 @@ private MenuItem BuildRecentFileItem(string file)
448
451
// Return the MenuItem
449
452
return mi ;
450
453
}
451
- #endregion
454
+ #endregion
452
455
}
453
456
}
0 commit comments