mirror of https://github.com/2dust/v2rayN
lvServers.EnsureVisible
parent
033f83465f
commit
7b2bd8876d
|
@ -243,6 +243,7 @@ namespace v2rayN.Forms
|
||||||
|
|
||||||
if (lvItem != null) lvServers.Items.Add(lvItem);
|
if (lvItem != null) lvServers.Items.Add(lvItem);
|
||||||
}
|
}
|
||||||
|
lvServers.EnsureVisible(config.index);
|
||||||
|
|
||||||
//if (lvServers.Items.Count > 0)
|
//if (lvServers.Items.Count > 0)
|
||||||
//{
|
//{
|
||||||
|
@ -988,6 +989,7 @@ namespace v2rayN.Forms
|
||||||
//this.notifyIcon1.Visible = false;
|
//this.notifyIcon1.Visible = false;
|
||||||
this.ShowInTaskbar = true;
|
this.ShowInTaskbar = true;
|
||||||
this.txtMsgBox.ScrollToCaret();
|
this.txtMsgBox.ScrollToCaret();
|
||||||
|
lvServers.EnsureVisible(config.index); // workaround
|
||||||
|
|
||||||
SetVisibleCore(true);
|
SetVisibleCore(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue