Meta - Update Nuget packages

Profiles - Fixed duplicating & importing
This commit is contained in:
Robert committed 2021-06-19 16:25:25 +02:00
1 parent dd8827e186
commit 8c729055ea
13 files changed
+107 -211

No files matched your search

@@ -12,6 +12,7 @@ using Artemis.UI.Screens.ProfileEditor.LayerProperties;
using Artemis.UI.Screens.ProfileEditor.ProfileTree;
using Artemis.UI.Screens.ProfileEditor.Visualization;
using Artemis.UI.Screens.Sidebar.Dialogs;
using Artemis.UI.Services;
using Artemis.UI.Shared;
using Artemis.UI.Shared.Services;
using Stylet;
@@ -22,6 +23,7 @@ namespace Artemis.UI.Screens.ProfileEditor
public class ProfileEditorViewModel : MainScreenViewModel
{
private readonly IMessageService _messageService;
private readonly IDebugService _debugService;
private readonly ISidebarVmFactory _sidebarVmFactory;
private readonly IEventAggregator _eventAggregator;
private readonly IProfileEditorService _profileEditorService;
@@ -45,12 +47,14 @@ namespace Artemis.UI.Screens.ProfileEditor
IDialogService dialogService,
ISettingsService settingsService,
IMessageService messageService,
IDebugService debugService,
ISidebarVmFactory sidebarVmFactory)
{
_profileEditorService = profileEditorService;
_profileService = profileService;
_settingsService = settingsService;
_messageService = messageService;
_debugService = debugService;
_sidebarVmFactory = sidebarVmFactory;
DisplayName = "Profile Editor";
@@ -237,6 +241,11 @@ namespace Artemis.UI.Screens.ProfileEditor
}
}
public void OpenDebugger()
{
_debugService.ShowDebugger();
}
public void OpenUrl(string url)
{
Core.Utilities.OpenUrl(url);