mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 12:44:16 +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
|
try
|
||||||
{
|
{
|
||||||
profman.ImportProfile(ImGui.GetClipboardText());
|
profman.ImportProfile(ImGui.GetClipboardText());
|
||||||
|
Service<NotificationManager>.Get().AddNotification("Profile successfully imported!", type: NotificationType.Success);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Log.Error(ex, "Could not import profile");
|
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