Skip to content

Commit

Permalink
Unfocus connect button on press (space-wizards#111)
Browse files Browse the repository at this point in the history
Visne authored Nov 2, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6e2820f commit 21800a1
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.Models.Data;
@@ -49,6 +50,7 @@ public ServerEntryViewModel(

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

0 comments on commit 21800a1

Please sign in to comment.