Hello,
That widget is the default WooCommerce widget and we did not make any changes for the default functionality. You can hide only empty categories or show the subcategories of the selected category only http://prntscr.com/pmq4rt Any other options to hide/show categories there.
Regards