mirror of https://github.com/anoshenko/rui.git
Fixed issue with popup button listener bindings
This commit is contained in:
parent
c5f043e60c
commit
5d07a64f32
3
popup.go
3
popup.go
|
|
@ -1819,8 +1819,7 @@ func (data *popupListenerBinding) Run(popup Popup) {
|
||||||
args = []reflect.Value{}
|
args = []reflect.Value{}
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
inType := methodType.In(0)
|
if equalType(methodType.In(0), reflect.TypeOf(popup)) {
|
||||||
if inType == reflect.TypeOf(popup) {
|
|
||||||
args = []reflect.Value{reflect.ValueOf(popup)}
|
args = []reflect.Value{reflect.ValueOf(popup)}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue