Skip to content

Commit

Permalink
set mscVersion to the current version after the first layout of 1.3 s…
Browse files Browse the repository at this point in the history
…cores
  • Loading branch information
lasconic committed Jul 19, 2014
1 parent 44cf0ae commit b8f6725
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions libmscore/layout.cpp
Expand Up @@ -1390,6 +1390,11 @@ void Score::doLayout()
}

_layoutAll = false;

// _mscVersion is used during read and first layout
// but then it's used for drag and drop and should be set to new version
if (_mscVersion <= 114)
_mscVersion = MSCVERSION; // for later drag & drop usage
}

//---------------------------------------------------------
Expand Down
2 changes: 0 additions & 2 deletions libmscore/read114.cpp
Expand Up @@ -732,8 +732,6 @@ Score::FileError Score::read114(XmlReader& e)
}
}

// _mscVersion = MSCVERSION; // for later drag & drop usage

fixTicks();
rebuildMidiMapping();
updateChannel();
Expand Down

0 comments on commit b8f6725

Please sign in to comment.