Skip to content

Commit

Permalink
Unfocus connect button on press (space-wizards#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Visne authored and Skyedra committed Dec 17, 2023
1 parent 9f6188c commit 7f06f50
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.ComponentModel;
using Avalonia.Input;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using Microsoft.Toolkit.Mvvm.Messaging;
using SS14.Launcher.Localization;
Expand Down Expand Up @@ -49,6 +50,7 @@ public ServerEntryViewModel(

public void ConnectPressed()
{
FocusManager.Instance?.Focus(null);
ConnectingViewModel.StartConnect(_windowVm, Address);
}

Expand Down

0 comments on commit 7f06f50

Please sign in to comment.