Kodi Community Forum
Req Enhance Python "multiselect" to preselect items - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: Req Enhance Python "multiselect" to preselect items (/showthread.php?tid=270814)



Enhance Python "multiselect" to preselect items - robwebset - 2016-04-22

Hi All,

I had noticed that there was the new Dialog "multiselect" option (Jarvis Python) - which is a nice enhancement to the other interfaces also available.

I was hoping that it may be possible to enhance the "multiselect" interface so that you could also define the items in the list that are "Pre-selected" when the list is displayed.

This would be really useful if you want to show a list to a user and allow them to add and remove items to make a new selection.

Thanks

Rob


RE: Enhance Python "multiselect" to preselect items - phil65 - 2016-04-22

https://github.com/phil65/xbmc/tree/multiselect_preselect
If you can compile yourself, please test. I can PR then.


RE: Enhance Python "multiselect" to preselect items - robwebset - 2016-04-23

(2016-04-22, 22:24)phil65 Wrote: https://github.com/phil65/xbmc/tree/multiselect_preselect
If you can compile yourself, please test. I can PR then.

Thanks phil65

Afraid I don't have a build environment for Kodi source

Thanks

Rob


RE: Enhance Python "multiselect" to preselect items - phil65 - 2016-04-24

https://github.com/xbmc/xbmc/pull/9666


RE: Enhance Python "multiselect" to preselect items - phil65 - 2016-05-03

Done.

http://forum.kodi.tv/showthread.php?tid=250936&pid=2327011#pid2327011