From cba29d6585cfcc9537a3f85adb114198b216d50f Mon Sep 17 00:00:00 2001 From: BDisp Date: Tue, 30 Jun 2020 17:56:24 +0100 Subject: [PATCH] Change from Adding to Added. --- Terminal.Gui/Core/View.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs index 14ccde46c..be569d2e9 100644 --- a/Terminal.Gui/Core/View.cs +++ b/Terminal.Gui/Core/View.cs @@ -127,7 +127,7 @@ namespace Terminal.Gui { /// /// Event fired when a subview is being added to this view. /// - public Action Adding; + public Action Added; /// /// Event fired when a subview is being removed from this view. @@ -562,7 +562,7 @@ namespace Terminal.Gui { subviews = new List (); subviews.Add (view); view.container = this; - OnAdding (view); + OnAdded (view); if (view.CanFocus) CanFocus = true; SetNeedsLayout (); @@ -949,9 +949,9 @@ namespace Terminal.Gui { /// Method invoked when a subview is being added to this view. /// /// The subview being added. - public virtual void OnAdding (View view) + public virtual void OnAdded (View view) { - view.Adding?.Invoke (this); + view.Added?.Invoke (this); } ///