mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feedback for profile imports
This commit is contained in:
parent
91ada49fa7
commit
4b2f649215
1 changed files with 2 additions and 0 deletions
|
|
@ -69,10 +69,12 @@ internal class ProfileManagerWidget
|
|||
try
|
||||
{
|
||||
profman.ImportProfile(ImGui.GetClipboardText());
|
||||
Service<NotificationManager>.Get().AddNotification("Profile successfully imported!", type: NotificationType.Success);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex, "Could not import profile");
|
||||
Service<NotificationManager>.Get().AddNotification("Could not import profile.", type: NotificationType.Error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue