mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Clear the TextField selected text when loses focus.
This commit is contained in:
@@ -85,6 +85,8 @@ namespace Terminal.Gui {
|
||||
{
|
||||
if (Application.mouseGrabView != null && Application.mouseGrabView == this)
|
||||
Application.UngrabMouse ();
|
||||
if (SelectedLength != 0)
|
||||
ClearAllSelection ();
|
||||
}
|
||||
|
||||
public override Rect Frame {
|
||||
|
||||
Reference in New Issue
Block a user