mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Profile import - Fixed and streamlined functionality
This commit is contained in:
1 parent
a5455c26d6
commit
8294cc306a
4 files changed
+24
-5
No files matched your search
@@ -32,9 +32,9 @@ namespace Artemis.UI.Screens.ProfileEditor.Dialogs
|
||||
|
||||
public void Accept()
|
||||
{
|
||||
_profileService.ImportProfile(Document.Text, ProfileModule);
|
||||
var descriptor = _profileService.ImportProfile(Document.Text, ProfileModule);
|
||||
_mainMessageQueue.Enqueue("Profile imported.");
|
||||
Session.Close();
|
||||
Session.Close(descriptor);
|
||||
}
|
||||
|
||||
public void Cancel()
|
||||
|
||||
Reference in new issue
Block a user