Skip to content

Commit

Permalink
Fix issue where opened browser tabs would immediately lose focus
Browse files Browse the repository at this point in the history
  • Loading branch information
giosali committed Aug 13, 2021
1 parent a693ee6 commit b2e2d4f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file.

## v0.3.1

### Changed

* Changed minimum supported version of Windows 10 to Build 18362 (version: 1903; codename: 19H1; released: May 21, 2019; marketing name: May 2019 Update)

### Fixed

* Fixed issue where new tabs opened in the web browser would lose focus after being opened

## v0.3.0

### Added
Expand Down
3 changes: 2 additions & 1 deletion Reginald/ViewModels/SearchViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ public void UserInput_PreviewKeyDown(object sender, KeyEventArgs e)
}
catch (NullReferenceException) { }
e.Handled = true;
TryCloseAsync();
break;

case Key.Up:
Expand Down Expand Up @@ -537,10 +536,12 @@ private async Task HandleSelectedSearchResultBasedOnCategoryNameAsync(Category c
{
case Category.Application:
Process.Start("explorer.exe", @"shell:appsfolder\" + SelectedSearchResult.ParsingName);
await TryCloseAsync();
break;

case Category.Math:
Clipboard.SetText(SelectedSearchResult.Text);
await TryCloseAsync();
break;

case Category.Keyword:
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h1 class="intro__title">Meet your new assistant</h1>
</p>
</div>
<a class="download-link button--windows"
href="https://github.com/GBS3/reginald/releases/download/v0.3.0/Reginald-0.3.0.msi">
href="https://github.com/GBS3/reginald/releases/download/v0.3.1/Reginald-0.3.1.msi">
<img class="download-link__icon" src="images/icons/windows.svg">
<p class="download-link__text">Download Reginald</p>
</a>
Expand Down

0 comments on commit b2e2d4f

Please sign in to comment.