-1

If first element of items array passed to show_quick_panel is an empty string, the program crashes when deleting a character from the input

johtso 6 years ago 0

If show_quick_panel is called with an empty string as the first element of the items array argument, the program crashes when the the user deletes a character from their input.


Eg.
self.view.window().show_quick_panel(['', 'test1', 'test2'], self.on_done)