{"action":"created","issue":{"url":"https://api.github.com/repos/musescore/MuseScore/issues/2084","labels_url":"https://api.github.com/repos/musescore/MuseScore/issues/2084/labels{/name}","comments_url":"https://api.github.com/repos/musescore/MuseScore/issues/2084/comments","events_url":"https://api.github.com/repos/musescore/MuseScore/issues/2084/events","html_url":"https://github.com/musescore/MuseScore/pull/2084","id":89810035,"number":2084,"title":"fix #66061: corruption on new score with adjactent pairs of linked st…","user":{"login":"MarcSabatella","id":1799936,"avatar_url":"https://avatars.githubusercontent.com/u/1799936?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcSabatella","html_url":"https://github.com/MarcSabatella","followers_url":"https://api.github.com/users/MarcSabatella/followers","following_url":"https://api.github.com/users/MarcSabatella/following{/other_user}","gists_url":"https://api.github.com/users/MarcSabatella/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcSabatella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcSabatella/subscriptions","organizations_url":"https://api.github.com/users/MarcSabatella/orgs","repos_url":"https://api.github.com/users/MarcSabatella/repos","events_url":"https://api.github.com/users/MarcSabatella/events{/privacy}","received_events_url":"https://api.github.com/users/MarcSabatella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-20T19:46:55Z","updated_at":"2015-06-22T16:20:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/musescore/MuseScore/pulls/2084","html_url":"https://github.com/musescore/MuseScore/pull/2084","diff_url":"https://github.com/musescore/MuseScore/pull/2084.diff","patch_url":"https://github.com/musescore/MuseScore/pull/2084.patch"},"body":"…aves\r\n\r\nBefore the big change to new score creation (for templates) back in March, this section of code differentiated between primaryStaff() and others.  It no longer does, but needs to here.  Probably the code for the pickup measure could be simplified with some restructuring, but my change has the advantage of being safe, I think."},"comment":{"url":"https://api.github.com/repos/musescore/MuseScore/issues/comments/114169508","html_url":"https://github.com/musescore/MuseScore/pull/2084#issuecomment-114169508","issue_url":"https://api.github.com/repos/musescore/MuseScore/issues/2084","id":114169508,"user":{"login":"MarcSabatella","id":1799936,"avatar_url":"https://avatars.githubusercontent.com/u/1799936?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcSabatella","html_url":"https://github.com/MarcSabatella","followers_url":"https://api.github.com/users/MarcSabatella/followers","following_url":"https://api.github.com/users/MarcSabatella/following{/other_user}","gists_url":"https://api.github.com/users/MarcSabatella/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcSabatella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcSabatella/subscriptions","organizations_url":"https://api.github.com/users/MarcSabatella/orgs","repos_url":"https://api.github.com/users/MarcSabatella/repos","events_url":"https://api.github.com/users/MarcSabatella/events{/privacy}","received_events_url":"https://api.github.com/users/MarcSabatella/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T16:20:10Z","updated_at":"2015-06-22T16:20:10Z","body":"Rather than rely on prinmaryStaff() - which doesn't necessarily choose the topmost linked staff of a set - I am now explicitly checking if this staff is linked to the previous.  It does actually simplify the code a little too."}}