Debugger - Added the ability to copy data model paths

This commit is contained in:
Robert committed 2022-07-15 21:46:51 +02:00
1 parent c4010b5481
commit 94826e8598
3 files changed
+19

No files matched your search

@@ -4,6 +4,7 @@ using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows;
using Artemis.Core;
using Artemis.Core.Modules;
using Artemis.UI.Shared.Services;
@@ -194,6 +195,12 @@ namespace Artemis.UI.Shared
IsMatchingFilteredTypes = filteredTypes.Any(t => t == type || t == typeof(Enum) && type.IsEnum);
}
public void CopyPath()
{
if (Path != null)
Clipboard.SetText(Path);
}
internal virtual int GetChildDepth()
{
return 0;