mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge branch 'net5' of github.com:goatcorp/Dalamud into net5
This commit is contained in:
commit
00839640b3
2 changed files with 11 additions and 1 deletions
|
|
@ -332,6 +332,11 @@ namespace Dalamud.Configuration.Internal
|
|||
/// </summary>
|
||||
public bool ShowDevBarInfo { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the last-used contact details for the plugin feedback form.
|
||||
/// </summary>
|
||||
public string LastFeedbackContactDetails { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Load a configuration from the provided path.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -666,6 +666,11 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
|
|||
Log.Error("FeedbackPlugin was null.");
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(this.feedbackModalContact))
|
||||
{
|
||||
Service<DalamudConfiguration>.Get().LastFeedbackContactDetails = this.feedbackModalContact;
|
||||
}
|
||||
|
||||
ImGui.CloseCurrentPopup();
|
||||
}
|
||||
}
|
||||
|
|
@ -681,7 +686,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
|
|||
if (!this.feedbackModalOnNextFrameDontClear)
|
||||
{
|
||||
this.feedbackModalBody = string.Empty;
|
||||
this.feedbackModalContact = string.Empty;
|
||||
this.feedbackModalContact = Service<DalamudConfiguration>.Get().LastFeedbackContactDetails;
|
||||
this.feedbackModalIncludeException = false;
|
||||
this.feedbackIsAnonymous = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue