Skip to content

Commit a9bf49e

Browse files
committed
Revert "Fix Init_KeyBindings_Are_Not_Reset unit test failing"
This reverts commit 0ab298b.
1 parent 0ab298b commit a9bf49e

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

Terminal.Gui/App/Keyboard/KeyboardImpl.cs

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,8 @@ public void Dispose ()
6969
Application.PrevTabKeyChanged -= OnPrevTabKeyChanged;
7070
}
7171

72-
private IApplication? _app;
73-
7472
/// <inheritdoc/>
75-
public IApplication? App
76-
{
77-
get => _app;
78-
set
79-
{
80-
_app = value;
81-
82-
_quitKey = _app?.Keyboard.QuitKey ?? Key.Esc;
83-
_arrangeKey = _app?.Keyboard.ArrangeKey ?? Key.F5.WithCtrl;
84-
_nextTabGroupKey = _app?.Keyboard.NextTabGroupKey ?? Key.F6;
85-
_nextTabKey = _app?.Keyboard.NextTabKey ?? Key.Tab;
86-
_prevTabGroupKey = _app?.Keyboard.PrevTabGroupKey ?? Key.F6.WithShift;
87-
_prevTabKey = _app?.Keyboard.PrevTabKey ?? Key.Tab.WithShift;
88-
}
89-
}
73+
public IApplication? App { get; set; }
9074

9175
/// <inheritdoc/>
9276
public KeyBindings KeyBindings { get; internal set; } = new (null);

0 commit comments

Comments
 (0)