diff --git a/src/Nonemm.App/Configuration/Settings.cs b/src/Nonemm.App/Configuration/Settings.cs index df4498c..335f900 100644 --- a/src/Nonemm.App/Configuration/Settings.cs +++ b/src/Nonemm.App/Configuration/Settings.cs @@ -253,6 +253,12 @@ public sealed record Settings /// Whoever is at the radio now, or empty at a station with one operator. public string CurrentOperator { get; init; } = ""; + /// The operators who were last at the radio, newest first. `Operators` is + /// kept in the order they took it, so the end of the list is the most + /// recent. + public IEnumerable RecentOperators(int count) => + Operators.Reverse().Take(count); + /// The digital window's twenty-four macro buttons, in the same /// `label,message` lines as a function key file. Empty means the built-in /// set. diff --git a/src/Nonemm.App/Configuration/StoredOperator.cs b/src/Nonemm.App/Configuration/StoredOperator.cs index e4ef4f3..96b23ef 100644 --- a/src/Nonemm.App/Configuration/StoredOperator.cs +++ b/src/Nonemm.App/Configuration/StoredOperator.cs @@ -12,10 +12,5 @@ public sealed record StoredOperator /// until he changes them. public string Theme { get; init; } = ""; - /// The folder this operator's recordings are in. A voice keyer plays the - /// recordings of whoever is at the microphone, so the path is the - /// operator's rather than the station's. - public string WavPath { get; init; } = ""; - public IReadOnlyList Windows { get; init; } = []; } diff --git a/src/Nonemm.App/Dialogs/OperatorDialog.axaml b/src/Nonemm.App/Dialogs/OperatorDialog.axaml index 5475446..7cbe8ae 100644 --- a/src/Nonemm.App/Dialogs/OperatorDialog.axaml +++ b/src/Nonemm.App/Dialogs/OperatorDialog.axaml @@ -20,19 +20,14 @@ Click="OnCancel" IsCancel="True" /> - + + - - - -