diff --git a/Eve-O-Preview/Presenters/Implementation/MainFormPresenter.cs b/Eve-O-Preview/Presenters/Implementation/MainFormPresenter.cs index 57b82ea..9996e09 100644 --- a/Eve-O-Preview/Presenters/Implementation/MainFormPresenter.cs +++ b/Eve-O-Preview/Presenters/Implementation/MainFormPresenter.cs @@ -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()); } }