projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfbf799
)
[NUI] Fix the SVACE issue.
author
zhouhao02
<haozhou.zhou@samsung.com>
Tue, 17 Oct 2023 02:29:02 +0000
(10:29 +0800)
committer
Eunki Hong
<h.pichulia@gmail.com>
Wed, 25 Oct 2023 12:48:44 +0000
(21:48 +0900)
src/Tizen.NUI.Components/Controls/Button.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.NUI.Components/Controls/Button.cs
b/src/Tizen.NUI.Components/Controls/Button.cs
index
6601b2b
..
a4e0b90
100755
(executable)
--- a/
src/Tizen.NUI.Components/Controls/Button.cs
+++ b/
src/Tizen.NUI.Components/Controls/Button.cs
@@
-790,7
+790,15
@@
namespace Tizen.NUI.Components
}
private StringSelector InternalIconURLSelector
{
- get => buttonIcon?.ResourceUrlSelector == null ? null : new StringSelector(buttonIcon.ResourceUrlSelector);
+ get
+ {
+ Selector<string> resourceUrlSelector = buttonIcon?.ResourceUrlSelector;
+ if(resourceUrlSelector == null)
+ {
+ return null;
+ }
+ return new StringSelector(resourceUrlSelector);
+ }
set
{
if (value == null || buttonIcon == null)