Await Utils.NextMgNr
This commit is contained in:
@ -94,8 +94,8 @@ namespace Elwig.Windows {
|
||||
GC.Collect();
|
||||
}
|
||||
|
||||
private void InitInputs() {
|
||||
MgNrInput.Text = Utils.NextMgNr(Context).ToString();
|
||||
private async void InitInputs() {
|
||||
MgNrInput.Text = (await Utils.NextMgNr(Context)).ToString();
|
||||
EntryDateInput.Text = DateTime.Now.ToString("dd.MM.yyyy");
|
||||
if (Context.Branches.Count() == 1)
|
||||
BranchInput.SelectedItem = Context.Branches.First();
|
||||
|
Reference in New Issue
Block a user