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

fix #269271: crash on drag'n'drop brackets to a score #3458

Closed

Conversation

anatoly-os
Copy link
Contributor

Added correct check for Bracket properties.
Previous implementation processed only BracketItem properties, but general Element properties were ignored.

Added correct check for Bracket properties.
Previous implementation processed only BracketItem properties, but general Element properties were ignored.
@lasconic
Copy link
Contributor

The PR cannot be merged as it. Could you rebase on top of master, fix the conflicts and force push?
It could be better to solve the problem in BracketItem and call Element::getProperty() there. It seems it's the way it's done for other Elements.

@anatoly-os
Copy link
Contributor Author

Well, it is not possible to use Element::getProperty() directly from BracketItem, because the last is not a child of Element, but ScoreElement. The first part I'll do, of course. Thank you!

@anatoly-os
Copy link
Contributor Author

Well, the crash is seemed to be fixed in 5783276. Similar solution was used without mentioning it. So, this PR is not actual anymore.

@lasconic
Copy link
Contributor

Thanks for checking.

@lasconic lasconic closed this Feb 12, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants