{"action":"created","comment":{"url":"https://api.github.com/repos/Qucs/qucs/pulls/comments/52944525","id":52944525,"diff_hunk":"@@ -106,22 +106,25 @@ bool WireLabel::getSelected(int x, int y)\n // ----------------------------------------------------------------\n void WireLabel::paint(ViewPainter *p)\n {\n-  QFont font = p->Painter->font();\n+  QFont f = p->Painter->font(); // save current font\n+  QFont newFont = f;\n+\n   if (isHighlighted)\n   {\n //    QColor highlightfill (Qt::blue);\n //    highlightfill.setAlpha(50);\n //    p->fillRect(x1-1, y1-1, x2, y2, highlightfill);\n     p->Painter->setPen(QPen(Qt::darkBlue,3));\n-    font.setWeight (QFont::DemiBold);\n+    newFont.setWeight (QFont::DemiBold);","path":"qucs/qucs/wirelabel.cpp","position":15,"original_position":15,"commit_id":"9ff5ac3c6150c45065ca1cc287d5a2529b265f0c","original_commit_id":"9ff5ac3c6150c45065ca1cc287d5a2529b265f0c","user":{"login":"in3otd","id":9018179,"avatar_url":"https://avatars.githubusercontent.com/u/9018179?v=3","gravatar_id":"","url":"https://api.github.com/users/in3otd","html_url":"https://github.com/in3otd","followers_url":"https://api.github.com/users/in3otd/followers","following_url":"https://api.github.com/users/in3otd/following{/other_user}","gists_url":"https://api.github.com/users/in3otd/gists{/gist_id}","starred_url":"https://api.github.com/users/in3otd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in3otd/subscriptions","organizations_url":"https://api.github.com/users/in3otd/orgs","repos_url":"https://api.github.com/users/in3otd/repos","events_url":"https://api.github.com/users/in3otd/events{/privacy}","received_events_url":"https://api.github.com/users/in3otd/received_events","type":"User","site_admin":false},"body":"...I guess yes; let me check how it looks on Linux and Windows...","created_at":"2016-02-15T21:21:26Z","updated_at":"2016-02-15T21:21:26Z","html_url":"https://github.com/Qucs/qucs/pull/472#discussion_r52944525","pull_request_url":"https://api.github.com/repos/Qucs/qucs/pulls/472","_links":{"self":{"href":"https://api.github.com/repos/Qucs/qucs/pulls/comments/52944525"},"html":{"href":"https://github.com/Qucs/qucs/pull/472#discussion_r52944525"},"pull_request":{"href":"https://api.github.com/repos/Qucs/qucs/pulls/472"}}},"pull_request":{"url":"https://api.github.com/repos/Qucs/qucs/pulls/472","id":59268975,"html_url":"https://github.com/Qucs/qucs/pull/472","diff_url":"https://github.com/Qucs/qucs/pull/472.diff","patch_url":"https://github.com/Qucs/qucs/pull/472.patch","issue_url":"https://api.github.com/repos/Qucs/qucs/issues/472","number":472,"state":"open","locked":false,"title":"Fix for #467","user":{"login":"in3otd","id":9018179,"avatar_url":"https://avatars.githubusercontent.com/u/9018179?v=3","gravatar_id":"","url":"https://api.github.com/users/in3otd","html_url":"https://github.com/in3otd","followers_url":"https://api.github.com/users/in3otd/followers","following_url":"https://api.github.com/users/in3otd/following{/other_user}","gists_url":"https://api.github.com/users/in3otd/gists{/gist_id}","starred_url":"https://api.github.com/users/in3otd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in3otd/subscriptions","organizations_url":"https://api.github.com/users/in3otd/orgs","repos_url":"https://api.github.com/users/in3otd/repos","events_url":"https://api.github.com/users/in3otd/events{/privacy}","received_events_url":"https://api.github.com/users/in3otd/received_events","type":"User","site_admin":false},"body":"~~(Partial)~~ fix for the issues in #467 \r\n\r\nThings corrected so far:\r\n- [x] when selecting a wire label the text on some diagrams become boldfaced\r\n- [x] selecting multiple different labels only highlights one group\r\n- [x] labels on nodes are never highlighted\r\n\r\nI have also slightly modified the highlighting behavior: now a label is also highlighted (boldfaced) when selected only if the same label is used elsewhere. I think this gives a better feedback if a label is used multiple times, without need to search for boldface labels in the entire schematic to understand if a label is unique or not.\r\n\r\n~~Feel free to merge already if you would like to see these things already fixed in 0.0.19 .~~\r\nEDIT: should be ready to merge now","created_at":"2016-02-13T15:04:31Z","updated_at":"2016-02-15T21:21:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fb647ae383893ab2dbf4b23583a30d91895c67e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Qucs/qucs/pulls/472/commits","review_comments_url":"https://api.github.com/repos/Qucs/qucs/pulls/472/comments","review_comment_url":"https://api.github.com/repos/Qucs/qucs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Qucs/qucs/issues/472/comments","statuses_url":"https://api.github.com/repos/Qucs/qucs/statuses/9ff5ac3c6150c45065ca1cc287d5a2529b265f0c","head":{"label":"in3otd:issue_467","ref":"issue_467","sha":"9ff5ac3c6150c45065ca1cc287d5a2529b265f0c","user":{"login":"in3otd","id":9018179,"avatar_url":"https://avatars.githubusercontent.com/u/9018179?v=3","gravatar_id":"","url":"https://api.github.com/users/in3otd","html_url":"https://github.com/in3otd","followers_url":"https://api.github.com/users/in3otd/followers","following_url":"https://api.github.com/users/in3otd/following{/other_user}","gists_url":"https://api.github.com/users/in3otd/gists{/gist_id}","starred_url":"https://api.github.com/users/in3otd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in3otd/subscriptions","organizations_url":"https://api.github.com/users/in3otd/orgs","repos_url":"https://api.github.com/users/in3otd/repos","events_url":"https://api.github.com/users/in3otd/events{/privacy}","received_events_url":"https://api.github.com/users/in3otd/received_events","type":"User","site_admin":false},"repo":{"id":25766397,"name":"qucs","full_name":"in3otd/qucs","owner":{"login":"in3otd","id":9018179,"avatar_url":"https://avatars.githubusercontent.com/u/9018179?v=3","gravatar_id":"","url":"https://api.github.com/users/in3otd","html_url":"https://github.com/in3otd","followers_url":"https://api.github.com/users/in3otd/followers","following_url":"https://api.github.com/users/in3otd/following{/other_user}","gists_url":"https://api.github.com/users/in3otd/gists{/gist_id}","starred_url":"https://api.github.com/users/in3otd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in3otd/subscriptions","organizations_url":"https://api.github.com/users/in3otd/orgs","repos_url":"https://api.github.com/users/in3otd/repos","events_url":"https://api.github.com/users/in3otd/events{/privacy}","received_events_url":"https://api.github.com/users/in3otd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/in3otd/qucs","description":"Qucs Project official mirror","fork":true,"url":"https://api.github.com/repos/in3otd/qucs","forks_url":"https://api.github.com/repos/in3otd/qucs/forks","keys_url":"https://api.github.com/repos/in3otd/qucs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/in3otd/qucs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/in3otd/qucs/teams","hooks_url":"https://api.github.com/repos/in3otd/qucs/hooks","issue_events_url":"https://api.github.com/repos/in3otd/qucs/issues/events{/number}","events_url":"https://api.github.com/repos/in3otd/qucs/events","assignees_url":"https://api.github.com/repos/in3otd/qucs/assignees{/user}","branches_url":"https://api.github.com/repos/in3otd/qucs/branches{/branch}","tags_url":"https://api.github.com/repos/in3otd/qucs/tags","blobs_url":"https://api.github.com/repos/in3otd/qucs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/in3otd/qucs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/in3otd/qucs/git/refs{/sha}","trees_url":"https://api.github.com/repos/in3otd/qucs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/in3otd/qucs/statuses/{sha}","languages_url":"https://api.github.com/repos/in3otd/qucs/languages","stargazers_url":"https://api.github.com/repos/in3otd/qucs/stargazers","contributors_url":"https://api.github.com/repos/in3otd/qucs/contributors","subscribers_url":"https://api.github.com/repos/in3otd/qucs/subscribers","subscription_url":"https://api.github.com/repos/in3otd/qucs/subscription","commits_url":"https://api.github.com/repos/in3otd/qucs/commits{/sha}","git_commits_url":"https://api.github.com/repos/in3otd/qucs/git/commits{/sha}","comments_url":"https://api.github.com/repos/in3otd/qucs/comments{/number}","issue_comment_url":"https://api.github.com/repos/in3otd/qucs/issues/comments{/number}","contents_url":"https://api.github.com/repos/in3otd/qucs/contents/{+path}","compare_url":"https://api.github.com/repos/in3otd/qucs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/in3otd/qucs/merges","archive_url":"https://api.github.com/repos/in3otd/qucs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/in3otd/qucs/downloads","issues_url":"https://api.github.com/repos/in3otd/qucs/issues{/number}","pulls_url":"https://api.github.com/repos/in3otd/qucs/pulls{/number}","milestones_url":"https://api.github.com/repos/in3otd/qucs/milestones{/number}","notifications_url":"https://api.github.com/repos/in3otd/qucs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/in3otd/qucs/labels{/name}","releases_url":"https://api.github.com/repos/in3otd/qucs/releases{/id}","deployments_url":"https://api.github.com/repos/in3otd/qucs/deployments","created_at":"2014-10-26T10:04:28Z","updated_at":"2015-04-21T19:46:54Z","pushed_at":"2016-02-14T12:53:54Z","git_url":"git://github.com/in3otd/qucs.git","ssh_url":"git@github.com:in3otd/qucs.git","clone_url":"https://github.com/in3otd/qucs.git","svn_url":"https://github.com/in3otd/qucs","homepage":"http://qucs.sourceforge.net/","size":47522,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"Qucs:master","ref":"master","sha":"8ff40c1af494406461540edbfa094b79db619317","user":{"login":"Qucs","id":5776398,"avatar_url":"https://avatars.githubusercontent.com/u/5776398?v=3","gravatar_id":"","url":"https://api.github.com/users/Qucs","html_url":"https://github.com/Qucs","followers_url":"https://api.github.com/users/Qucs/followers","following_url":"https://api.github.com/users/Qucs/following{/other_user}","gists_url":"https://api.github.com/users/Qucs/gists{/gist_id}","starred_url":"https://api.github.com/users/Qucs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qucs/subscriptions","organizations_url":"https://api.github.com/users/Qucs/orgs","repos_url":"https://api.github.com/users/Qucs/repos","events_url":"https://api.github.com/users/Qucs/events{/privacy}","received_events_url":"https://api.github.com/users/Qucs/received_events","type":"Organization","site_admin":false},"repo":{"id":16213441,"name":"qucs","full_name":"Qucs/qucs","owner":{"login":"Qucs","id":5776398,"avatar_url":"https://avatars.githubusercontent.com/u/5776398?v=3","gravatar_id":"","url":"https://api.github.com/users/Qucs","html_url":"https://github.com/Qucs","followers_url":"https://api.github.com/users/Qucs/followers","following_url":"https://api.github.com/users/Qucs/following{/other_user}","gists_url":"https://api.github.com/users/Qucs/gists{/gist_id}","starred_url":"https://api.github.com/users/Qucs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qucs/subscriptions","organizations_url":"https://api.github.com/users/Qucs/orgs","repos_url":"https://api.github.com/users/Qucs/repos","events_url":"https://api.github.com/users/Qucs/events{/privacy}","received_events_url":"https://api.github.com/users/Qucs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Qucs/qucs","description":"Qucs Project official mirror","fork":false,"url":"https://api.github.com/repos/Qucs/qucs","forks_url":"https://api.github.com/repos/Qucs/qucs/forks","keys_url":"https://api.github.com/repos/Qucs/qucs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Qucs/qucs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Qucs/qucs/teams","hooks_url":"https://api.github.com/repos/Qucs/qucs/hooks","issue_events_url":"https://api.github.com/repos/Qucs/qucs/issues/events{/number}","events_url":"https://api.github.com/repos/Qucs/qucs/events","assignees_url":"https://api.github.com/repos/Qucs/qucs/assignees{/user}","branches_url":"https://api.github.com/repos/Qucs/qucs/branches{/branch}","tags_url":"https://api.github.com/repos/Qucs/qucs/tags","blobs_url":"https://api.github.com/repos/Qucs/qucs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Qucs/qucs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Qucs/qucs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Qucs/qucs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Qucs/qucs/statuses/{sha}","languages_url":"https://api.github.com/repos/Qucs/qucs/languages","stargazers_url":"https://api.github.com/repos/Qucs/qucs/stargazers","contributors_url":"https://api.github.com/repos/Qucs/qucs/contributors","subscribers_url":"https://api.github.com/repos/Qucs/qucs/subscribers","subscription_url":"https://api.github.com/repos/Qucs/qucs/subscription","commits_url":"https://api.github.com/repos/Qucs/qucs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Qucs/qucs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Qucs/qucs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Qucs/qucs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Qucs/qucs/contents/{+path}","compare_url":"https://api.github.com/repos/Qucs/qucs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Qucs/qucs/merges","archive_url":"https://api.github.com/repos/Qucs/qucs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Qucs/qucs/downloads","issues_url":"https://api.github.com/repos/Qucs/qucs/issues{/number}","pulls_url":"https://api.github.com/repos/Qucs/qucs/pulls{/number}","milestones_url":"https://api.github.com/repos/Qucs/qucs/milestones{/number}","notifications_url":"https://api.github.com/repos/Qucs/qucs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Qucs/qucs/labels{/name}","releases_url":"https://api.github.com/repos/Qucs/qucs/releases{/id}","deployments_url":"https://api.github.com/repos/Qucs/qucs/deployments","created_at":"2014-01-24T18:48:36Z","updated_at":"2016-02-14T14:25:41Z","pushed_at":"2016-02-15T19:13:53Z","git_url":"git://github.com/Qucs/qucs.git","ssh_url":"git@github.com:Qucs/qucs.git","clone_url":"https://github.com/Qucs/qucs.git","svn_url":"https://github.com/Qucs/qucs","homepage":"http://qucs.sourceforge.net/","size":146735,"stargazers_count":167,"watchers_count":167,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":104,"forks":45,"open_issues":104,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Qucs/qucs/pulls/472"},"html":{"href":"https://github.com/Qucs/qucs/pull/472"},"issue":{"href":"https://api.github.com/repos/Qucs/qucs/issues/472"},"comments":{"href":"https://api.github.com/repos/Qucs/qucs/issues/472/comments"},"review_comments":{"href":"https://api.github.com/repos/Qucs/qucs/pulls/472/comments"},"review_comment":{"href":"https://api.github.com/repos/Qucs/qucs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Qucs/qucs/pulls/472/commits"},"statuses":{"href":"https://api.github.com/repos/Qucs/qucs/statuses/9ff5ac3c6150c45065ca1cc287d5a2529b265f0c"}}}}