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 #305359: Support the older BMW format (of Bagpipe Music Writer) #6083

Merged
merged 1 commit into from
May 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions mscore/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ bool MuseScore::checkDirty(MasterScore* s)

void MuseScore::openFiles(bool switchTab, bool singleFile)
{
QString allExt = "*.mscz *.mscx *.mxl *.musicxml *.xml *.mid *.midi *.kar *.md *.mgu *.sgu *.cap *.capx *.ove *.scw *.bww *.gtp *.gp3 *.gp4 *.gp5 *.gpx *.gp *.ptb *.mscz, *.mscx,";
QString allExt = "*.mscz *.mscx *.mxl *.musicxml *.xml *.mid *.midi *.kar *.md *.mgu *.sgu *.cap *.capx *.ove *.scw *.bmw *.bww *.gtp *.gp3 *.gp4 *.gp5 *.gpx *.gp *.ptb *.mscz, *.mscx,";
#ifdef AVSOMR
allExt += " *.msmr"; // omr project with omr data and musicxml or score
#endif
Expand All @@ -295,7 +295,7 @@ void MuseScore::openFiles(bool switchTab, bool singleFile)
<< tr("Capella Files") + " (*.cap *.capx)"
<< tr("BB Files (experimental)") + " (*.mgu *.sgu)"
<< tr("Overture / Score Writer Files (experimental)") + " (*.ove *.scw)"
<< tr("Bagpipe Music Writer Files (experimental)") + " (*.bww)"
<< tr("Bagpipe Music Writer Files (experimental)") + " (*.bmw *.bww)"
<< tr("Guitar Pro Files") + " (*.gtp *.gp3 *.gp4 *.gp5 *.gpx *.gp)"
<< tr("Power Tab Editor Files (experimental)") + " (*.ptb)"
<< tr("MuseScore Backup Files") + " (*.mscz, *.mscx,)";
Expand Down Expand Up @@ -2432,6 +2432,7 @@ Score::FileError readScore(MasterScore* score, QString name, bool ignoreVersionE
#ifdef OMR
{ "pdf", &importPdf },
#endif
{ "bmw", &importBww },
{ "bww", &importBww },
{ "gtp", &importGTP },
{ "gp3", &importGTP },
Expand Down