From e899dd2f8ebb1b00653e101437a464ee80d34c06 Mon Sep 17 00:00:00 2001 From: "guowei.wang" Date: Tue, 15 Mar 2022 10:13:54 +0800 Subject: [PATCH] src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs --- src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index 3ae53c1..f9cf574 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -552,7 +552,10 @@ namespace Tizen.NUI.BaseComponents bool underlineEnabled = false; using (var propertyValue = Underline.Find(TextLabel.Property.UNDERLINE, "enable")) { - propertyValue.Get(out underlineEnabled); + if (propertyValue != null) + { + propertyValue.Get(out underlineEnabled); + } } return underlineEnabled; } -- 2.7.4