remember last selected discord log template
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user