diff --git a/SS14.Launcher/ViewModels/MainWindowTabs/ServerEntryViewModel.cs b/SS14.Launcher/ViewModels/MainWindowTabs/ServerEntryViewModel.cs index eb125512..f1a49c25 100644 --- a/SS14.Launcher/ViewModels/MainWindowTabs/ServerEntryViewModel.cs +++ b/SS14.Launcher/ViewModels/MainWindowTabs/ServerEntryViewModel.cs @@ -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.Models.Data; @@ -49,6 +50,7 @@ public ServerEntryViewModel( public void ConnectPressed() { + FocusManager.Instance?.Focus(null); ConnectingViewModel.StartConnect(_windowVm, Address); }