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

Clear the TextField selected text when loses focus.

BDisp 5 жил өмнө
parent
commit
07a92f989e

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

@@ -85,6 +85,8 @@ namespace Terminal.Gui {
 		{
 			if (Application.mouseGrabView != null && Application.mouseGrabView == this)
 				Application.UngrabMouse ();
+			if (SelectedLength != 0)
+				ClearAllSelection ();
 		}
 
 		public override Rect Frame {