Function works from onRun but not a from dialog box. Strangely when closing the plugin window and reopening it the newlines suddenly appear!
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
Why do you need that plugin in the first place rather than using Format... > Add/Remove System Breaks?
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.
In reply to When you switch to a dialog… by jeetee
Thanks. It works now.
I didn't know that this functionality was available.