projects
/
platform
/
core
/
csapi
/
nui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316ee80
)
Fix crash caused by GetPropertyIndex not converting to DALi property format
51/148751/3
author
Tom Robinson
<tom.robinson@samsung.com>
Fri, 8 Sep 2017 17:59:17 +0000
(18:59 +0100)
committer
Tom Robinson
<tom.robinson@samsung.com>
Tue, 19 Sep 2017 13:46:30 +0000
(13:46 +0000)
Change-Id: Ic7a65c4f1045c81c2b26efefc5d0a101204849f5
Tizen.NUI/src/public/Animatable.cs
patch
|
blob
|
history
diff --git
a/Tizen.NUI/src/public/Animatable.cs
b/Tizen.NUI/src/public/Animatable.cs
index
b5c056e
..
5859e85
100755
(executable)
--- a/
Tizen.NUI/src/public/Animatable.cs
+++ b/
Tizen.NUI/src/public/Animatable.cs
@@
-86,7
+86,9
@@
namespace Tizen.NUI
public int GetPropertyIndex(string name)
{
- int ret = NDalicPINVOKE.Handle_GetPropertyIndex(swigCPtr, name);
+ string daliPropertyName = name.Substring(0, 1).ToLower() + name.Substring(1);
+
+ int ret = NDalicPINVOKE.Handle_GetPropertyIndex(swigCPtr, daliPropertyName);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}