mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
Fix CanFocus being set to false on background after adding all the subviews.
This commit is contained in:
@@ -552,9 +552,7 @@ namespace Terminal.Gui {
|
||||
///<inheritdoc/>
|
||||
public override void Add (View view)
|
||||
{
|
||||
if (!CanFocus) {
|
||||
CanFocus = true;
|
||||
}
|
||||
CanFocus = true;
|
||||
AddMenuStatusBar (view);
|
||||
base.Add (view);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user