mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-01 20:42:10 +00:00
Fixed the problem that the statistics column would not be hidden
This commit is contained in:
parent
2e32de2fbb
commit
10513e0f3b
2 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ namespace v2rayN.Desktop.Views
|
||||||
item2.Width = new DataGridLength(item.Width, DataGridLengthUnitType.Pixel);
|
item2.Width = new DataGridLength(item.Width, DataGridLengthUnitType.Pixel);
|
||||||
item2.DisplayIndex = displayIndex++;
|
item2.DisplayIndex = displayIndex++;
|
||||||
}
|
}
|
||||||
if (item.Name.StartsWith("to"))
|
if (item.Name.ToLower().StartsWith("to"))
|
||||||
{
|
{
|
||||||
if (!_config.GuiItem.EnableStatistics)
|
if (!_config.GuiItem.EnableStatistics)
|
||||||
{
|
{
|
||||||
|
|
|
@ -338,7 +338,7 @@ namespace v2rayN.Views
|
||||||
item2.Width = item.Width;
|
item2.Width = item.Width;
|
||||||
item2.DisplayIndex = displayIndex++;
|
item2.DisplayIndex = displayIndex++;
|
||||||
}
|
}
|
||||||
if (item.Name.StartsWith("to"))
|
if (item.Name.ToLower().StartsWith("to"))
|
||||||
{
|
{
|
||||||
if (!_config.GuiItem.EnableStatistics)
|
if (!_config.GuiItem.EnableStatistics)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue