forked from mbk-lab/rui_orig
Fixed "@..." text bug in EditView
This commit is contained in:
parent
07e1dd3799
commit
584983b818
|
@ -484,10 +484,12 @@ func GetText(view View, subviewID string) string {
|
||||||
view = ViewByID(view, subviewID)
|
view = ViewByID(view, subviewID)
|
||||||
}
|
}
|
||||||
if view != nil {
|
if view != nil {
|
||||||
if text, ok := stringProperty(view, Text, view.Session()); ok {
|
if value := view.getRaw(Text); value != nil {
|
||||||
|
if text, ok := value.(string); ok {
|
||||||
return text
|
return text
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue