2012-09-13, 01:32
According to the docs for xbmcgui.Dialog.yesno(): http://mirrors.xbmc.org/docs/python-docs...alog-yesno
The parameters are listed in order with the last two being nolabel, then yeslabel. This indicates to me the value for the No/False button should be passed first, but experimentation shows that these two are reversed. When an option is chosen, the label passed first returns True.
I also tried using keyword arguments, but Python reported that yesno() does not accept keyword arguments
Reporting here vs Python Dev since it would require a code change
The parameters are listed in order with the last two being nolabel, then yeslabel. This indicates to me the value for the No/False button should be passed first, but experimentation shows that these two are reversed. When an option is chosen, the label passed first returns True.
I also tried using keyword arguments, but Python reported that yesno() does not accept keyword arguments
Reporting here vs Python Dev since it would require a code change