pdmfc / nova-action-button

MIT License
37 stars 29 forks source link

Fixed bug in Nova Panel with not triggered event #34

Open smskin opened 2 years ago

smskin commented 2 years ago

If you place the button in the Nova panel, the "actionExecuted" event will not be triggered when you click on it.

This is due to the fact that the action selector component is being searched in the current panel. If it is not there, then it is impossible to send an event.

I corrected the following logic: