Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't stop #5

Open
JeffRocchio opened this issue Aug 8, 2020 · 0 comments
Open

Plugin doesn't stop #5

JeffRocchio opened this issue Aug 8, 2020 · 0 comments

Comments

@JeffRocchio
Copy link

Am starting to try to learn to create Musescore plugins (in my case on Linux). So seeking working examples. I did notice that your plugin is missing the Qt.quit(); command. And indeed I have to manually click on the 'Stop' button in plugin creator to stop it. If I add the Qt.quit(); command then the pop-up results box doesn't appear - tho I assume it really just appears to fast to see it before QT quits the plugin. I further assume this is because the pop-up dialog is asynchronous - code continues to execute after the pop-up is displayed, so it therefore hits the Qt.quit(); command I inserted at the end of the OnRun procedure. I don't yet know enough to know to how to make the pop-up modal so that it waits at that spot in code for the mouse click.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant