[NUI] Implement the old API of Popup.SetButtonText for Manual.Tests failed (#1264)
authorzhouleonlei <56956725+zhouleonlei@users.noreply.github.com>
Fri, 3 Jan 2020 04:50:32 +0000 (12:50 +0800)
committerJiyun Yang <ji.yang@samsung.com>
Fri, 3 Jan 2020 04:50:32 +0000 (13:50 +0900)
src/Tizen.NUI.Components/Controls/Popup.cs

index 51f84fb..781b6c0 100755 (executable)
@@ -660,7 +660,9 @@ namespace Tizen.NUI.Components
         /// <param name="text">Button text string.</param>
         /// <since_tizen> 6 </since_tizen>
         public void SetButtonText(int index, string text)
-        {}
+        {
+            AddButton(text);
+        }
 
         /// <summary>
         /// Dispose Popup and all children on it.