修复:双击表头弹出编辑窗口的问题 (#5984)

* 修复:日志文本框垂直显示上下空白问题

* 修复:双击表头弹出编辑窗口的问题
pull/6005/head
fonaix 2024-11-04 09:44:03 +08:00 committed by GitHub
parent a3e45d206e
commit 18005b96e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,8 @@ namespace v2rayN.Desktop.Views
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();