Skip to content

Commit

Permalink
Fix: Don't re-trigger loading if F5 held down
Browse files Browse the repository at this point in the history
  • Loading branch information
leezer3 committed Nov 2, 2022
1 parent 2ef5e8a commit 6ac6489
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/RouteViewer/ProgramR.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ internal static void keyDownEvent(object sender, KeyboardKeyEventArgs e)
AltPressed = true;
break;
case Key.F5:
if (CurrentlyLoading)
{
return;
}
if (CurrentRouteFile != null && CurrentlyLoading == false)
{

Expand Down

0 comments on commit 6ac6489

Please sign in to comment.