{"action":"created","comment":{"url":"https://api.github.com/repos/musescore/MuseScore/pulls/comments/59514318","id":59514318,"diff_hunk":"@@ -2295,11 +2295,19 @@ bool Score::appendScore(Score* score)\n             return false;\n       int tickOfAppend = lastMeasure->endTick();\n \n-      if (!lastMeasure->lineBreak() && !lastMeasure->pageBreak()) {\n-            lastMeasure->undoSetBreak(true, LayoutBreak::Type::LINE);\n+      if (addPageBreak) {\n+            // add PageBreak if one doesn't already exist\n+            if (!lastMeasure->pageBreak())","path":"libmscore/score.cpp","position":17,"original_position":17,"commit_id":"e1d436fbd20b0dddea46d7016f3b96f5050aed99","original_commit_id":"e1d436fbd20b0dddea46d7016f3b96f5050aed99","user":{"login":"ericfont","id":6502474,"avatar_url":"https://avatars.githubusercontent.com/u/6502474?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfont","html_url":"https://github.com/ericfont","followers_url":"https://api.github.com/users/ericfont/followers","following_url":"https://api.github.com/users/ericfont/following{/other_user}","gists_url":"https://api.github.com/users/ericfont/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfont/subscriptions","organizations_url":"https://api.github.com/users/ericfont/orgs","repos_url":"https://api.github.com/users/ericfont/repos","events_url":"https://api.github.com/users/ericfont/events{/privacy}","received_events_url":"https://api.github.com/users/ericfont/received_events","type":"User","site_admin":false},"body":"Good point...I should modify this so that Page Break will replace preexisting Line Break.","created_at":"2016-04-13T08:56:25Z","updated_at":"2016-04-13T08:56:25Z","html_url":"https://github.com/musescore/MuseScore/pull/2536#discussion_r59514318","pull_request_url":"https://api.github.com/repos/musescore/MuseScore/pulls/2536","_links":{"self":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/comments/59514318"},"html":{"href":"https://github.com/musescore/MuseScore/pull/2536#discussion_r59514318"},"pull_request":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/2536"}}},"pull_request":{"url":"https://api.github.com/repos/musescore/MuseScore/pulls/2536","id":66072326,"html_url":"https://github.com/musescore/MuseScore/pull/2536","diff_url":"https://github.com/musescore/MuseScore/pull/2536.diff","patch_url":"https://github.com/musescore/MuseScore/pull/2536.patch","issue_url":"https://api.github.com/repos/musescore/MuseScore/issues/2536","number":2536,"state":"open","locked":false,"title":"fix #105716 Album option Page/Section Break","user":{"login":"ericfont","id":6502474,"avatar_url":"https://avatars.githubusercontent.com/u/6502474?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfont","html_url":"https://github.com/ericfont","followers_url":"https://api.github.com/users/ericfont/followers","following_url":"https://api.github.com/users/ericfont/following{/other_user}","gists_url":"https://api.github.com/users/ericfont/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfont/subscriptions","organizations_url":"https://api.github.com/users/ericfont/orgs","repos_url":"https://api.github.com/users/ericfont/repos","events_url":"https://api.github.com/users/ericfont/events{/privacy}","received_events_url":"https://api.github.com/users/ericfont/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-11T22:22:07Z","updated_at":"2016-04-13T08:56:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a724c1ada0d13d00be667689ddd74ce934bc38e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/musescore/MuseScore/pulls/2536/commits","review_comments_url":"https://api.github.com/repos/musescore/MuseScore/pulls/2536/comments","review_comment_url":"https://api.github.com/repos/musescore/MuseScore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/musescore/MuseScore/issues/2536/comments","statuses_url":"https://api.github.com/repos/musescore/MuseScore/statuses/e1d436fbd20b0dddea46d7016f3b96f5050aed99","head":{"label":"ericfont:105716-AlbumManager-PageBreak","ref":"105716-AlbumManager-PageBreak","sha":"e1d436fbd20b0dddea46d7016f3b96f5050aed99","user":{"login":"ericfont","id":6502474,"avatar_url":"https://avatars.githubusercontent.com/u/6502474?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfont","html_url":"https://github.com/ericfont","followers_url":"https://api.github.com/users/ericfont/followers","following_url":"https://api.github.com/users/ericfont/following{/other_user}","gists_url":"https://api.github.com/users/ericfont/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfont/subscriptions","organizations_url":"https://api.github.com/users/ericfont/orgs","repos_url":"https://api.github.com/users/ericfont/repos","events_url":"https://api.github.com/users/ericfont/events{/privacy}","received_events_url":"https://api.github.com/users/ericfont/received_events","type":"User","site_admin":false},"repo":{"id":38296423,"name":"MuseScore","full_name":"ericfont/MuseScore","owner":{"login":"ericfont","id":6502474,"avatar_url":"https://avatars.githubusercontent.com/u/6502474?v=3","gravatar_id":"","url":"https://api.github.com/users/ericfont","html_url":"https://github.com/ericfont","followers_url":"https://api.github.com/users/ericfont/followers","following_url":"https://api.github.com/users/ericfont/following{/other_user}","gists_url":"https://api.github.com/users/ericfont/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfont/subscriptions","organizations_url":"https://api.github.com/users/ericfont/orgs","repos_url":"https://api.github.com/users/ericfont/repos","events_url":"https://api.github.com/users/ericfont/events{/privacy}","received_events_url":"https://api.github.com/users/ericfont/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericfont/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":true,"url":"https://api.github.com/repos/ericfont/MuseScore","forks_url":"https://api.github.com/repos/ericfont/MuseScore/forks","keys_url":"https://api.github.com/repos/ericfont/MuseScore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericfont/MuseScore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericfont/MuseScore/teams","hooks_url":"https://api.github.com/repos/ericfont/MuseScore/hooks","issue_events_url":"https://api.github.com/repos/ericfont/MuseScore/issues/events{/number}","events_url":"https://api.github.com/repos/ericfont/MuseScore/events","assignees_url":"https://api.github.com/repos/ericfont/MuseScore/assignees{/user}","branches_url":"https://api.github.com/repos/ericfont/MuseScore/branches{/branch}","tags_url":"https://api.github.com/repos/ericfont/MuseScore/tags","blobs_url":"https://api.github.com/repos/ericfont/MuseScore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericfont/MuseScore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericfont/MuseScore/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericfont/MuseScore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericfont/MuseScore/statuses/{sha}","languages_url":"https://api.github.com/repos/ericfont/MuseScore/languages","stargazers_url":"https://api.github.com/repos/ericfont/MuseScore/stargazers","contributors_url":"https://api.github.com/repos/ericfont/MuseScore/contributors","subscribers_url":"https://api.github.com/repos/ericfont/MuseScore/subscribers","subscription_url":"https://api.github.com/repos/ericfont/MuseScore/subscription","commits_url":"https://api.github.com/repos/ericfont/MuseScore/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericfont/MuseScore/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericfont/MuseScore/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericfont/MuseScore/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericfont/MuseScore/contents/{+path}","compare_url":"https://api.github.com/repos/ericfont/MuseScore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericfont/MuseScore/merges","archive_url":"https://api.github.com/repos/ericfont/MuseScore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericfont/MuseScore/downloads","issues_url":"https://api.github.com/repos/ericfont/MuseScore/issues{/number}","pulls_url":"https://api.github.com/repos/ericfont/MuseScore/pulls{/number}","milestones_url":"https://api.github.com/repos/ericfont/MuseScore/milestones{/number}","notifications_url":"https://api.github.com/repos/ericfont/MuseScore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericfont/MuseScore/labels{/name}","releases_url":"https://api.github.com/repos/ericfont/MuseScore/releases{/id}","deployments_url":"https://api.github.com/repos/ericfont/MuseScore/deployments","created_at":"2015-06-30T08:12:13Z","updated_at":"2016-02-26T03:15:16Z","pushed_at":"2016-04-12T16:18:02Z","git_url":"git://github.com/ericfont/MuseScore.git","ssh_url":"git@github.com:ericfont/MuseScore.git","clone_url":"https://github.com/ericfont/MuseScore.git","svn_url":"https://github.com/ericfont/MuseScore","homepage":"http://musescore.org","size":240025,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"musescore:master","ref":"master","sha":"a65f06be68c7b99d4d5eacc3d1ba365930f530d4","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-04-11T19:25:16Z","pushed_at":"2016-04-12T22:40:25Z","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":372633,"stargazers_count":1003,"watchers_count":1003,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":562,"mirror_url":null,"open_issues_count":101,"forks":562,"open_issues":101,"watchers":1003,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/2536"},"html":{"href":"https://github.com/musescore/MuseScore/pull/2536"},"issue":{"href":"https://api.github.com/repos/musescore/MuseScore/issues/2536"},"comments":{"href":"https://api.github.com/repos/musescore/MuseScore/issues/2536/comments"},"review_comments":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/2536/comments"},"review_comment":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/musescore/MuseScore/pulls/2536/commits"},"statuses":{"href":"https://api.github.com/repos/musescore/MuseScore/statuses/e1d436fbd20b0dddea46d7016f3b96f5050aed99"}}}}