Skip to content

Commit

Permalink
Fix potential for action overlap when pressing enter to search
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Aug 3, 2023
1 parent 7c9906c commit d83b4a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions TwitchDownloaderWPF/PageChatDownload.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@ private async void TextUrl_OnKeyDown(object sender, KeyEventArgs e)
if (e.Key == Key.Enter)
{
await GetVideoInfo();
e.Handled = true;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions TwitchDownloaderWPF/PageClipDownload.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ private async void TextUrl_OnKeyDown(object sender, KeyEventArgs e)
if (e.Key == Key.Enter)
{
await GetClipInfo();
e.Handled = true;
}
}

Expand Down
1 change: 1 addition & 0 deletions TwitchDownloaderWPF/PageVodDownload.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ private async void TextUrl_OnKeyDown(object sender, KeyEventArgs e)
if (e.Key == Key.Enter)
{
await GetVideoInfo();
e.Handled = true;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions TwitchDownloaderWPF/WindowMassDownload.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ private async void TextChannel_OnKeyDown(object sender, KeyEventArgs e)
if (e.Key == Key.Enter)
{
await ChangeCurrentChannel();
e.Handled = true;
}
}
}
Expand Down

0 comments on commit d83b4a8

Please sign in to comment.