bug fixes

This commit is contained in:
Michele Scandura 2020-12-08 16:34:29 +00:00
parent 1759f7cd8e
commit beb0ac3580

View file

@ -200,6 +200,7 @@ namespace Sledgemapper
window.Content = noteWindow; window.Content = noteWindow;
window.ShowModal(_desktop); window.ShowModal(_desktop);
noteWindow.NoteText.SetKeyboardFocus();
} }
protected override void Update(GameTime gameTime) protected override void Update(GameTime gameTime)
@ -1126,6 +1127,7 @@ namespace Sledgemapper
noteWindow.BtnCancel.Click += OnButtonNoteCancelClick; noteWindow.BtnCancel.Click += OnButtonNoteCancelClick;
window.Content = noteWindow; window.Content = noteWindow;
window.ShowModal(_desktop); window.ShowModal(_desktop);
noteWindow.NoteText.SetKeyboardFocus();
} }
private void OnContextMenuDeleteNoteClick(object sender, EventArgs e) private void OnContextMenuDeleteNoteClick(object sender, EventArgs e)