Function works from onRun but not a from dialog box. Strangely when closing the plugin window and reopening it the newlines suddenly appear!

• Apr 18, 2021 - 08:14

This plugin is written to insert new lines every # of measures. In onRun there is a fixed parameter for the number of measures but I wish to have a variable parameter entered from a dialog box.

Attachment Size
break.qml 2.16 KB

Comments

When you switch to a dialog plugin, you also need to call startCmd() and endCmd() to correctly register your plugin actions within the undo stack.

Do you still have an unanswered question? Please log in first to post your question.