Skip to content

Commit

Permalink
修复:双击表头弹出编辑窗口的问题 (2dust#5984)
Browse files Browse the repository at this point in the history
* 修复:日志文本框垂直显示上下空白问题

* 修复:双击表头弹出编辑窗口的问题
  • Loading branch information
fonaix authored Nov 4, 2024
1 parent a3e45d2 commit 18005b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ private void lstProfiles_SelectionChanged(object? sender, SelectionChangedEventA

private void LstProfiles_DoubleTapped(object? sender, Avalonia.Input.TappedEventArgs e)
{
var source = e.Source as Border;
if (source == null || source.Name != "CellBorder") return;
if (_config.UiItem.DoubleClick2Activate)
{
ViewModel?.SetDefaultServer();
Expand Down

0 comments on commit 18005b9

Please sign in to comment.