remember last selected discord log template

This commit is contained in:
2022-01-22 09:19:16 +01:00
parent 654444d39c
commit c9cb3e26e0
3 changed files with 37 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ namespace EliteBGS.Util {
private static readonly string default_journal_location = "%UserProfile%\\Saved Games\\Frontier Developments\\Elite Dangerous";
private string journal_location = default_journal_location;
private bool useeddb = false;
private string lastdiscordlog;
public string DefaultJournalLocation => default_journal_location;
@@ -16,6 +17,14 @@ namespace EliteBGS.Util {
}
}
public string LastUsedDiscordTemplate {
get => lastdiscordlog;
set {
lastdiscordlog = value;
FirePropertyChanged("LastUsedDiscordTemplate");
}
}
public string JournalLocation {
get {
if (journal_location == null) {