2
0
Эх сурвалжийг харах

Moved CanFocus out of Responder and made non-virtual

Tig Kindel 1 жил өмнө
parent
commit
9f292656e2

+ 2 - 0
Terminal.Gui/Views/Toplevel.cs

@@ -130,6 +130,8 @@ public partial class Toplevel : View
         KeyBindings.Add (Key.B.WithCtrl, Command.PreviousView); // Unix
 #endif
         MouseClick += Toplevel_MouseClick;
+
+        CanFocus = true;
     }
 
     private void Toplevel_MouseClick (object sender, MouseEventEventArgs e)