Merge branch 'master' into develop

This commit is contained in:
Anton Kasyanov
2021-05-02 22:21:06 +03:00
6 changed files with 62 additions and 7 deletions

View File

@@ -49,6 +49,7 @@ namespace EveOPreview.Presenters
private void Activate()
{
this._suppressSizeNotifications = true;
this.LoadApplicationSettings();
this.View.SetDocumentationUrl(MainFormPresenter.FORUM_URL);
this.View.SetVersionInfo(this.GetApplicationVersion());
@@ -58,6 +59,7 @@ namespace EveOPreview.Presenters
}
this._mediator.Send(new StartService());
this._suppressSizeNotifications = false;
}
private void Minimize()
@@ -87,10 +89,9 @@ namespace EveOPreview.Presenters
private async void UpdateThumbnailsSize()
{
this.SaveApplicationSettings();
if (!this._suppressSizeNotifications)
{
this.SaveApplicationSettings();
await this._mediator.Publish(new ThumbnailConfiguredSizeUpdated());
}
}