Browse Source

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

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

* 修复:双击表头弹出编辑窗口的问题
pull/6005/head
fonaix 3 weeks ago committed by GitHub
parent
commit
18005b96e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml.cs

2
v2rayN/v2rayN.Desktop/Views/ProfilesView.axaml.cs

@ -189,6 +189,8 @@ namespace v2rayN.Desktop.Views
private void LstProfiles_DoubleTapped(object? sender, Avalonia.Input.TappedEventArgs e) 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) if (_config.UiItem.DoubleClick2Activate)
{ {
ViewModel?.SetDefaultServer(); ViewModel?.SetDefaultServer();

Loading…
Cancel
Save