{"action":"closed","number":2368,"pull_request":{"url":"https://api.github.com/repos/musescore/MuseScore/pulls/2368","id":57758039,"html_url":"https://github.com/musescore/MuseScore/pull/2368","diff_url":"https://github.com/musescore/MuseScore/pull/2368.diff","patch_url":"https://github.com/musescore/MuseScore/pull/2368.patch","issue_url":"https://api.github.com/repos/musescore/MuseScore/issues/2368","number":2368,"state":"closed","locked":false,"title":"fix #95826: avoid crash when switching scores while in edit mode","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},"body":"This fixes the crash and seems like it should be safe.  There is still a fun glitch where the text from the first score gets used as the \"undo\" text in the other score.  Probably we should investigate removing the \"static\" declarations from some of these variables in the Text class.  But that seems potentially more dangerous to me.","created_at":"2016-01-31T03:01:09Z","updated_at":"2016-02-17T16:57:16Z","closed_at":"2016-02-17T16:57:16Z","merged_at":null,"merge_commit_sha":"ee1e1d1938b929b79dab94c213971e2646c07be9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/musescore/MuseScore/pulls/2368/commits","review_comments_url":"https://api.github.com/repos/musescore/MuseScore/pulls/2368/comments","review_comment_url":"https://api.github.com/repos/musescore/MuseScore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/musescore/MuseScore/issues/2368/comments","statuses_url":"https://api.github.com/repos/musescore/MuseScore/statuses/ece6115b87cac50348a0539ef670cf841e0810d2","head":{"label":"MarcSabatella:95826-edit-mode-switch","ref":"95826-edit-mode-switch","sha":"ece6115b87cac50348a0539ef670cf841e0810d2","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},"repo":{"id":14895853,"name":"MuseScore","full_name":"MarcSabatella/MuseScore","owner":{"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},"private":false,"html_url":"https://github.com/MarcSabatella/MuseScore","description":"MuseScore is a open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!","fork":true,"url":"https://api.github.com/repos/MarcSabatella/MuseScore","forks_url":"https://api.github.com/repos/MarcSabatella/MuseScore/forks","keys_url":"https://api.github.com/repos/MarcSabatella/MuseScore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarcSabatella/MuseScore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarcSabatella/MuseScore/teams","hooks_url":"https://api.github.com/repos/MarcSabatella/MuseScore/hooks","issue_events_url":"https://api.github.com/repos/MarcSabatella/MuseScore/issues/events{/number}","events_url":"https://api.github.com/repos/MarcSabatella/MuseScore/events","assignees_url":"https://api.github.com/repos/MarcSabatella/MuseScore/assignees{/user}","branches_url":"https://api.github.com/repos/MarcSabatella/MuseScore/branches{/branch}","tags_url":"https://api.github.com/repos/MarcSabatella/MuseScore/tags","blobs_url":"https://api.github.com/repos/MarcSabatella/MuseScore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarcSabatella/MuseScore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarcSabatella/MuseScore/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarcSabatella/MuseScore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarcSabatella/MuseScore/statuses/{sha}","languages_url":"https://api.github.com/repos/MarcSabatella/MuseScore/languages","stargazers_url":"https://api.github.com/repos/MarcSabatella/MuseScore/stargazers","contributors_url":"https://api.github.com/repos/MarcSabatella/MuseScore/contributors","subscribers_url":"https://api.github.com/repos/MarcSabatella/MuseScore/subscribers","subscription_url":"https://api.github.com/repos/MarcSabatella/MuseScore/subscription","commits_url":"https://api.github.com/repos/MarcSabatella/MuseScore/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarcSabatella/MuseScore/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarcSabatella/MuseScore/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarcSabatella/MuseScore/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarcSabatella/MuseScore/contents/{+path}","compare_url":"https://api.github.com/repos/MarcSabatella/MuseScore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarcSabatella/MuseScore/merges","archive_url":"https://api.github.com/repos/MarcSabatella/MuseScore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarcSabatella/MuseScore/downloads","issues_url":"https://api.github.com/repos/MarcSabatella/MuseScore/issues{/number}","pulls_url":"https://api.github.com/repos/MarcSabatella/MuseScore/pulls{/number}","milestones_url":"https://api.github.com/repos/MarcSabatella/MuseScore/milestones{/number}","notifications_url":"https://api.github.com/repos/MarcSabatella/MuseScore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarcSabatella/MuseScore/labels{/name}","releases_url":"https://api.github.com/repos/MarcSabatella/MuseScore/releases{/id}","deployments_url":"https://api.github.com/repos/MarcSabatella/MuseScore/deployments","created_at":"2013-12-03T14:25:39Z","updated_at":"2015-03-16T20:36:38Z","pushed_at":"2016-02-16T21:14:07Z","git_url":"git://github.com/MarcSabatella/MuseScore.git","ssh_url":"git@github.com:MarcSabatella/MuseScore.git","clone_url":"https://github.com/MarcSabatella/MuseScore.git","svn_url":"https://github.com/MarcSabatella/MuseScore","homepage":"http://musescore.org","size":211721,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"musescore:master","ref":"master","sha":"2af1e82fbf1c6ba54985f0570f910ad3ef0af29f","user":{"login":"musescore","id":380563,"avatar_url":"https://avatars.githubusercontent.com/u/380563?v=3","gravatar_id":"","url":"https://api.github.com/users/musescore","html_url":"https://github.com/musescore","followers_url":"https://api.github.com/users/musescore/followers","following_url":"https://api.github.com/users/musescore/following{/other_user}","gists_url":"https://api.github.com/users/musescore/gists{/gist_id}","starred_url":"https://api.github.com/users/musescore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musescore/subscriptions","organizations_url":"https://api.github.com/users/musescore/orgs","repos_url":"https://api.github.com/users/musescore/repos","events_url":"https://api.github.com/users/musescore/events{/privacy}","received_events_url":"https://api.github.com/users/musescore/received_events","type":"Organization","site_admin":false},"repo":{"id":4454793,"name":"MuseScore","full_name":"musescore/MuseScore","owner":{"login":"musescore","id":380563,"avatar_url":"https://avatars.githubusercontent.com/u/380563?v=3","gravatar_id":"","url":"https://api.github.com/users/musescore","html_url":"https://github.com/musescore","followers_url":"https://api.github.com/users/musescore/followers","following_url":"https://api.github.com/users/musescore/following{/other_user}","gists_url":"https://api.github.com/users/musescore/gists{/gist_id}","starred_url":"https://api.github.com/users/musescore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musescore/subscriptions","organizations_url":"https://api.github.com/users/musescore/orgs","repos_url":"https://api.github.com/users/musescore/repos","events_url":"https://api.github.com/users/musescore/events{/privacy}","received_events_url":"https://api.github.com/users/musescore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/musescore/MuseScore","description":"MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!","fork":false,"url":"https://api.github.com/repos/musescore/MuseScore","forks_url":"https://api.github.com/repos/musescore/MuseScore/forks","keys_url":"https://api.github.com/repos/musescore/MuseScore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/musescore/MuseScore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/musescore/MuseScore/teams","hooks_url":"https://api.github.com/repos/musescore/MuseScore/hooks","issue_events_url":"https://api.github.com/repos/musescore/MuseScore/issues/events{/number}","events_url":"https://api.github.com/repos/musescore/MuseScore/events","assignees_url":"https://api.github.com/repos/musescore/MuseScore/assignees{/user}","branches_url":"https://api.github.com/repos/musescore/MuseScore/branches{/branch}","tags_url":"https://api.github.com/repos/musescore/MuseScore/tags","blobs_url":"https://api.github.com/repos/musescore/MuseScore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/musescore/MuseScore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/musescore/MuseScore/git/refs{/sha}","trees_url":"https://api.github.com/repos/musescore/MuseScore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/musescore/MuseScore/statuses/{sha}","languages_url":"https://api.github.com/repos/musescore/MuseScore/languages","stargazers_url":"https://api.github.com/repos/musescore/MuseScore/stargazers","contributors_url":"https://api.github.com/repos/musescore/MuseScore/contributors","subscribers_url":"https://api.github.com/repos/musescore/MuseScore/subscribers","subscription_url":"https://api.github.com/repos/musescore/MuseScore/subscription","commits_url":"https://api.github.com/repos/musescore/MuseScore/commits{/sha}","git_commits_url":"https://api.github.com/repos/musescore/MuseScore/git/commits{/sha}","comments_url":"https://api.github.com/repos/musescore/MuseScore/comments{/number}","issue_comment_url":"https://api.github.com/repos/musescore/MuseScore/issues/comments{/number}","contents_url":"https://api.github.com/repos/musescore/MuseScore/contents/{+path}","compare_url":"https://api.github.com/repos/musescore/MuseScore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/musescore/MuseScore/merges","archive_url":"https://api.github.com/repos/musescore/MuseScore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/musescore/MuseScore/downloads","issues_url":"https://api.github.com/repos/musescore/MuseScore/issues{/number}","pulls_url":"https://api.github.com/repos/musescore/MuseScore/pulls{/number}","milestones_url":"https://api.github.com/repos/musescore/MuseScore/milestones{/number}","notifications_url":"https://api.github.com/repos/musescore/MuseScore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/musescore/MuseScore/labels{/name}","releases_url":"https://api.github.com/repos/musescore/MuseScore/releases{/id}","deployments_url":"https://api.github.com/repos/musescore/MuseScore/deployments","created_at":"2012-05-26T12:46:33Z","updated_at":"2016-02-16T11:00:05Z","pushed_at":"2016-02-17T15:16:54Z","git_url":"git://github.com/musescore/MuseScore.git","ssh_url":"git@github.com:musescore/MuseScore.git","clone_url":"https://github.com/musescore/MuseScore.git","svn_url":"https://github.com/musescore/MuseScore","homepage":"https://musescore.org","size":359102,"stargazers_count":940,"watchers_count":940,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":510,"mirror_url":null,"open_issues_count":66,"forks":510,"open_issues":66,"watchers":940,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/2368"},"html":{"href":"https://github.com/musescore/MuseScore/pull/2368"},"issue":{"href":"https://api.github.com/repos/musescore/MuseScore/issues/2368"},"comments":{"href":"https://api.github.com/repos/musescore/MuseScore/issues/2368/comments"},"review_comments":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/2368/comments"},"review_comment":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/2368/commits"},"statuses":{"href":"https://api.github.com/repos/musescore/MuseScore/statuses/ece6115b87cac50348a0539ef670cf841e0810d2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}