Update CopyFullyQualifiedNameContextMenuEntry.cs
Fix crash on Linux when call Context menu
This commit is contained in:
Родитель
3513552337
Коммит
a92672eb6d
|
@ -6,7 +6,7 @@ using ICSharpCode.Decompiler.TypeSystem;
|
|||
|
||||
namespace ICSharpCode.ILSpy.TreeNodes
|
||||
{
|
||||
[ExportContextMenuEntry(Header = "Copy FQ Name", Icon = "images/Copy.png", Order = 9999)]
|
||||
[ExportContextMenuEntry(Header = "Copy FQ Name", Icon = "Images/Copy.png", Order = 9999)]
|
||||
public class CopyFullyQualifiedNameContextMenuEntry : IContextMenuEntry
|
||||
{
|
||||
public bool IsVisible(TextViewContext context)
|
||||
|
@ -28,4 +28,4 @@ namespace ICSharpCode.ILSpy.TreeNodes
|
|||
return context.SelectedTreeNodes?.Length == 1 ? context.SelectedTreeNodes[0] as IMemberTreeNode : null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче