mirror of
https://github.com/BluePointLilac/ContextMenuManager.git
synced 2026-01-14 06:04:00 +08:00
修复部分bug
This commit is contained in:
@@ -481,9 +481,27 @@ namespace ContextMenuManager.Controls
|
||||
this.Owner = list;
|
||||
BtnMoveUp.MouseDown += (sender, e) => Owner.MoveItem(this, true);
|
||||
BtnMoveDown.MouseDown += (sender, e) => Owner.MoveItem(this, false);
|
||||
SetItemTextValue();
|
||||
}
|
||||
|
||||
public PrivateMultiItemsList Owner { get; private set; }
|
||||
|
||||
private void SetItemTextValue()
|
||||
{
|
||||
using(var key = RegistryEx.GetRegistryKey(this.RegPath, true))
|
||||
{
|
||||
bool hasValue = false;
|
||||
foreach(string valueName in new[] { "MUIVerb", "" })
|
||||
{
|
||||
if(key.GetValue(valueName) != null)
|
||||
{
|
||||
hasValue = true; break;
|
||||
}
|
||||
}
|
||||
if(!hasValue) key.SetValue("MUIVerb", this.ItemText);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
sealed class SeparatorItem : SubSeparatorItem
|
||||
|
||||
@@ -421,7 +421,7 @@ Text=Balabolka
|
||||
Icon=.\balabolka.exe,0
|
||||
;PowerToys PowerRename
|
||||
[0440049f-d1dc-4e46-b27b-98393d79486b]
|
||||
Text=@*,-101
|
||||
Text=@*,-101
|
||||
;PowerToys调整图片大小
|
||||
[51b4d7e5-7568-4234-b4bb-47fb3c016a69]
|
||||
Text=@*,-101
|
||||
Reference in New Issue
Block a user