mirror of https://github.com/2dust/v2rayN
Remove the main interface Encryption Method
parent
2e30c04238
commit
fdddf901f3
|
@ -835,7 +835,6 @@ namespace v2rayN.Handler
|
||||||
case EServerColName.remarks:
|
case EServerColName.remarks:
|
||||||
case EServerColName.address:
|
case EServerColName.address:
|
||||||
case EServerColName.port:
|
case EServerColName.port:
|
||||||
case EServerColName.security:
|
|
||||||
case EServerColName.network:
|
case EServerColName.network:
|
||||||
case EServerColName.streamSecurity:
|
case EServerColName.streamSecurity:
|
||||||
propertyName = name.ToString();
|
propertyName = name.ToString();
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
remarks,
|
remarks,
|
||||||
address,
|
address,
|
||||||
port,
|
port,
|
||||||
security,
|
|
||||||
network,
|
network,
|
||||||
streamSecurity,
|
streamSecurity,
|
||||||
subRemarks,
|
subRemarks,
|
||||||
|
|
|
@ -688,11 +688,6 @@
|
||||||
Binding="{Binding port}"
|
Binding="{Binding port}"
|
||||||
ExName="port"
|
ExName="port"
|
||||||
Header="{x:Static resx:ResUI.LvPort}" />
|
Header="{x:Static resx:ResUI.LvPort}" />
|
||||||
<base:MyDGTextColumn
|
|
||||||
Width="100"
|
|
||||||
Binding="{Binding security}"
|
|
||||||
ExName="security"
|
|
||||||
Header="{x:Static resx:ResUI.LvEncryptionMethod}" />
|
|
||||||
<base:MyDGTextColumn
|
<base:MyDGTextColumn
|
||||||
Width="100"
|
Width="100"
|
||||||
Binding="{Binding network}"
|
Binding="{Binding network}"
|
||||||
|
|
|
@ -478,12 +478,11 @@ namespace v2rayN.Views
|
||||||
}
|
}
|
||||||
|
|
||||||
var lvColumnItem = _config.uiItem.mainColumnItem.OrderBy(t => t.Index).ToList();
|
var lvColumnItem = _config.uiItem.mainColumnItem.OrderBy(t => t.Index).ToList();
|
||||||
for (int i = 0; i < lvColumnItem.Count; i++)
|
var displayIndex = 0;
|
||||||
|
foreach(var item in lvColumnItem)
|
||||||
{
|
{
|
||||||
var item = lvColumnItem[i];
|
foreach (MyDGTextColumn item2 in lstProfiles.Columns)
|
||||||
for (int k = 0; k < lstProfiles.Columns.Count; k++)
|
|
||||||
{
|
{
|
||||||
var item2 = (MyDGTextColumn)lstProfiles.Columns[k];
|
|
||||||
if (item2.ExName == item.Name)
|
if (item2.ExName == item.Name)
|
||||||
{
|
{
|
||||||
if (item.Width < 0)
|
if (item.Width < 0)
|
||||||
|
@ -493,7 +492,7 @@ namespace v2rayN.Views
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
item2.Width = item.Width;
|
item2.Width = item.Width;
|
||||||
item2.DisplayIndex = i;
|
item2.DisplayIndex = displayIndex++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue