Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84811

getting an edit control in python script crashes xbmc

$
0
0
I have a custom window with id 9542 and an edit control with id 30 and radio button with id 70

I want to read text entered in the edit control, so I do following in my script
PHP Code:
myWindow xbmcgui.Window(19542)
ctrlEditIPAddress myWindow.getControl(30
the xbmc crashes with message:
Segmentation fault (core dumped)

when I try to pass id of radio button like this:
PHP Code:
myWindow.getControl(70
It does not crash.
So why is it crashing for edit control?

Thanks for help in advance.

Viewing all articles
Browse latest Browse all 84811

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>