refactor(MainFormPresenter.cs): change hotkey registration from Send to Publish for better event handling
This commit is contained in:
@@ -190,7 +190,7 @@ namespace EveOPreview.Presenters {
|
|||||||
this._configuration.ToggleAllThumbnailsHotkey = this.View.ToggleAllThumbnailsHotkey;
|
this._configuration.ToggleAllThumbnailsHotkey = this.View.ToggleAllThumbnailsHotkey;
|
||||||
|
|
||||||
// Re-register hotkeys if they changed
|
// Re-register hotkeys if they changed
|
||||||
await this._mediator.Send(new ReRegisterHotkeys());
|
await this._mediator.Publish(new ReRegisterHotkeys());
|
||||||
|
|
||||||
// Publish region settings update if they changed
|
// Publish region settings update if they changed
|
||||||
if (this._configuration.EnableThumbnailRegionSnipping != this.View.EnableThumbnailRegionSnipping ||
|
if (this._configuration.EnableThumbnailRegionSnipping != this.View.EnableThumbnailRegionSnipping ||
|
||||||
|
Reference in New Issue
Block a user