mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 21:52:25 +00:00
lvServers.EnsureVisible
This commit is contained in:
parent
033f83465f
commit
7b2bd8876d
1 changed files with 2 additions and 0 deletions
|
@ -243,6 +243,7 @@ namespace v2rayN.Forms
|
|||
|
||||
if (lvItem != null) lvServers.Items.Add(lvItem);
|
||||
}
|
||||
lvServers.EnsureVisible(config.index);
|
||||
|
||||
//if (lvServers.Items.Count > 0)
|
||||
//{
|
||||
|
@ -988,6 +989,7 @@ namespace v2rayN.Forms
|
|||
//this.notifyIcon1.Visible = false;
|
||||
this.ShowInTaskbar = true;
|
||||
this.txtMsgBox.ScrollToCaret();
|
||||
lvServers.EnsureVisible(config.index); // workaround
|
||||
|
||||
SetVisibleCore(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue