private void OnShellProfileAdded(ShellProfileAddedMessage message) { _keyboardCommandService.RegisterCommandHandler(message.ShellProfile.Id.ToString(), async() => await AddProfileByGuidAsync(message.ShellProfile.Id)); UpdateDefaultShellProfile(); }
private void OnShellProfileAdded(ShellProfileAddedMessage message) { _keyboardCommandService.RegisterCommandHandler(message.ShellProfile.Id.ToString(), async() => await AddProfileByGuidAsync(message.ShellProfile.Id)); UpdateDefaultShellProfile(); ApplicationView.ExecuteOnUiThreadAsync(CreateMenuViewModel, CoreDispatcherPriority.Low, true); }
private void OnShellProfileAdded(ShellProfileAddedMessage message) { _keyboardCommandService.RegisterCommandHandler(message.ShellProfile.Id.ToString(), () => AddLocalTabOrWindowAsync(message.ShellProfile.Id)); }