robertlugg / easygui

easygui for Python
http://easygui.readthedocs.org/en/master/
BSD 3-Clause "New" or "Revised" License
457 stars 116 forks source link

multchoicebox returns None instead of empty list when I select no item #176

Open jozefwiora opened 4 years ago

jozefwiora commented 4 years ago

I have easygui version 0.98.1 installed in Windows. I need to distinguish between cancel and selected no items. I recognized that in case deselection of all items, the function returns None. In my opinion, it should be an empty list [].

westin123 commented 2 years ago

I just ran into this issue as well. I agree, it should return an empty list.

westin123 commented 2 years ago

I made PR #210 for this.