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

allow loading old drm and style files #4851

Merged
merged 2 commits into from
May 20, 2019
Merged

Conversation

Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz
Copy link
Contributor Author

Jojo-Schmitz commented Apr 1, 2019

I wonder whether someting like this could/should also be done for style files, unfortunately this gets loaded in libmscore, so a dialog there won't be possible. A more indirect method is needed...

@@ -568,8 +568,11 @@ void EditDrumset::load()
while (e.readNextStartElement()) {
if (e.name() == "museScore") {
if (e.attribute("version") != MSC_VERSION) {
QMessageBox::critical(this, tr("Drumset too old"), tr("MuseScore cannot load this drumset file."));
return;
QMessageBox::StandardButton b = QMessageBox::warning(this, tr("Drumset too old"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed these strings somewhere few month ago...
At least, Drumset too old is not a correct English sentence afaiu.

Copy link
Contributor Author

@Jojo-Schmitz Jojo-Schmitz Apr 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drumset file too old?
It is not supposed to be a sentence, but a window title.
To what should it get changed then, if at all?

@Jojo-Schmitz Jojo-Schmitz changed the title allow loading old drm files allow loading old drm and style files May 7, 2019
@anatoly-os anatoly-os merged commit a2c0130 into musescore:master May 20, 2019
@Jojo-Schmitz Jojo-Schmitz deleted the drm branch May 20, 2019 09:07
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.

2 participants