{"action":"created","comment":{"url":"https://api.github.com/repos/biolab/orange3/pulls/comments/152067741","pull_request_review_id":77860474,"id":152067741,"diff_hunk":"@@ -76,25 +106,40 @@ def update_controls(self):\n             if self.feature_model:\n                 self.feature_names_column = self.feature_model[0]\n         enabled = bool(self.feature_model)\n-        self.feature_radio.buttons[1].setEnabled(enabled)\n+        self.feature_radio.buttons[self.FROM_META_ATTR].setEnabled(enabled)\n         self.feature_combo.setEnabled(enabled)\n-        self.feature_type = int(enabled)\n+        self.feature_type = self.FROM_META_ATTR if enabled else self.GENERIC\n+\n+    def _apply_editing(self):\n+        self.feature_type = self.GENERIC\n+        self.custom_feature_name.setText(self.custom_feature_name.text().strip())\n+        self.feature_name = self.custom_feature_name.text()\n+        if self.auto_apply:","path":"Orange/widgets/data/owtranspose.py","position":90,"original_position":90,"commit_id":"2c4f0ab4644abe10f964921d66c13c459867da31","original_commit_id":"2c4f0ab4644abe10f964921d66c13c459867da31","user":{"login":"janezd","id":2387315,"avatar_url":"https://avatars0.githubusercontent.com/u/2387315?v=4","gravatar_id":"","url":"https://api.github.com/users/janezd","html_url":"https://github.com/janezd","followers_url":"https://api.github.com/users/janezd/followers","following_url":"https://api.github.com/users/janezd/following{/other_user}","gists_url":"https://api.github.com/users/janezd/gists{/gist_id}","starred_url":"https://api.github.com/users/janezd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janezd/subscriptions","organizations_url":"https://api.github.com/users/janezd/orgs","repos_url":"https://api.github.com/users/janezd/repos","events_url":"https://api.github.com/users/janezd/events{/privacy}","received_events_url":"https://api.github.com/users/janezd/received_events","type":"User","site_admin":false},"body":"If you added `if` to stop the changes from being applied when auto apply was disabled: the problem is that the auto apply button is a default button, hence Enter triggers it. To prevent this, use `self.apply_button.button.setAutoDefault(False)`.","created_at":"2017-11-20T18:08:15Z","updated_at":"2017-11-20T18:44:39Z","html_url":"https://github.com/biolab/orange3/pull/2737#discussion_r152067741","pull_request_url":"https://api.github.com/repos/biolab/orange3/pulls/2737","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments/152067741"},"html":{"href":"https://github.com/biolab/orange3/pull/2737#discussion_r152067741"},"pull_request":{"href":"https://api.github.com/repos/biolab/orange3/pulls/2737"}},"in_reply_to_id":152057239},"pull_request":{"url":"https://api.github.com/repos/biolab/orange3/pulls/2737","id":150499268,"html_url":"https://github.com/biolab/orange3/pull/2737","diff_url":"https://github.com/biolab/orange3/pull/2737.diff","patch_url":"https://github.com/biolab/orange3/pull/2737.patch","issue_url":"https://api.github.com/repos/biolab/orange3/issues/2737","number":2737,"state":"open","locked":false,"title":"[ENH] Allow custom (generic) names in Transpose Widget ","user":{"login":"jerneju","id":22157215,"avatar_url":"https://avatars2.githubusercontent.com/u/22157215?v=4","gravatar_id":"","url":"https://api.github.com/users/jerneju","html_url":"https://github.com/jerneju","followers_url":"https://api.github.com/users/jerneju/followers","following_url":"https://api.github.com/users/jerneju/following{/other_user}","gists_url":"https://api.github.com/users/jerneju/gists{/gist_id}","starred_url":"https://api.github.com/users/jerneju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerneju/subscriptions","organizations_url":"https://api.github.com/users/jerneju/orgs","repos_url":"https://api.github.com/users/jerneju/repos","events_url":"https://api.github.com/users/jerneju/events{/privacy}","received_events_url":"https://api.github.com/users/jerneju/received_events","type":"User","site_admin":false},"body":"##### Issue\r\nFixes #2729 \r\n\r\n\r\n##### Description of changes\r\n\r\n\r\n##### Includes\r\n- [X] Code changes\r\n- [x] Tests\r\n- [ ] Documentation\r\n","created_at":"2017-11-03T10:55:38Z","updated_at":"2017-11-20T18:44:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"760c72b0194f8ec0374fa315667c16cad4712d3d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/biolab/orange3/pulls/2737/commits","review_comments_url":"https://api.github.com/repos/biolab/orange3/pulls/2737/comments","review_comment_url":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biolab/orange3/issues/2737/comments","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/2c4f0ab4644abe10f964921d66c13c459867da31","head":{"label":"jerneju:transpose-custom-name","ref":"transpose-custom-name","sha":"2c4f0ab4644abe10f964921d66c13c459867da31","user":{"login":"jerneju","id":22157215,"avatar_url":"https://avatars2.githubusercontent.com/u/22157215?v=4","gravatar_id":"","url":"https://api.github.com/users/jerneju","html_url":"https://github.com/jerneju","followers_url":"https://api.github.com/users/jerneju/followers","following_url":"https://api.github.com/users/jerneju/following{/other_user}","gists_url":"https://api.github.com/users/jerneju/gists{/gist_id}","starred_url":"https://api.github.com/users/jerneju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerneju/subscriptions","organizations_url":"https://api.github.com/users/jerneju/orgs","repos_url":"https://api.github.com/users/jerneju/repos","events_url":"https://api.github.com/users/jerneju/events{/privacy}","received_events_url":"https://api.github.com/users/jerneju/received_events","type":"User","site_admin":false},"repo":{"id":81074517,"name":"orange3","full_name":"jerneju/orange3","owner":{"login":"jerneju","id":22157215,"avatar_url":"https://avatars2.githubusercontent.com/u/22157215?v=4","gravatar_id":"","url":"https://api.github.com/users/jerneju","html_url":"https://github.com/jerneju","followers_url":"https://api.github.com/users/jerneju/followers","following_url":"https://api.github.com/users/jerneju/following{/other_user}","gists_url":"https://api.github.com/users/jerneju/gists{/gist_id}","starred_url":"https://api.github.com/users/jerneju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerneju/subscriptions","organizations_url":"https://api.github.com/users/jerneju/orgs","repos_url":"https://api.github.com/users/jerneju/repos","events_url":"https://api.github.com/users/jerneju/events{/privacy}","received_events_url":"https://api.github.com/users/jerneju/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jerneju/orange3","description":"Orange 3 data mining suite: http://orange.biolab.si ","fork":true,"url":"https://api.github.com/repos/jerneju/orange3","forks_url":"https://api.github.com/repos/jerneju/orange3/forks","keys_url":"https://api.github.com/repos/jerneju/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jerneju/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jerneju/orange3/teams","hooks_url":"https://api.github.com/repos/jerneju/orange3/hooks","issue_events_url":"https://api.github.com/repos/jerneju/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/jerneju/orange3/events","assignees_url":"https://api.github.com/repos/jerneju/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/jerneju/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/jerneju/orange3/tags","blobs_url":"https://api.github.com/repos/jerneju/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jerneju/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jerneju/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/jerneju/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jerneju/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/jerneju/orange3/languages","stargazers_url":"https://api.github.com/repos/jerneju/orange3/stargazers","contributors_url":"https://api.github.com/repos/jerneju/orange3/contributors","subscribers_url":"https://api.github.com/repos/jerneju/orange3/subscribers","subscription_url":"https://api.github.com/repos/jerneju/orange3/subscription","commits_url":"https://api.github.com/repos/jerneju/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/jerneju/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/jerneju/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/jerneju/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/jerneju/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/jerneju/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jerneju/orange3/merges","archive_url":"https://api.github.com/repos/jerneju/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jerneju/orange3/downloads","issues_url":"https://api.github.com/repos/jerneju/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/jerneju/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/jerneju/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/jerneju/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jerneju/orange3/labels{/name}","releases_url":"https://api.github.com/repos/jerneju/orange3/releases{/id}","deployments_url":"https://api.github.com/repos/jerneju/orange3/deployments","created_at":"2017-02-06T10:14:48Z","updated_at":"2017-02-06T10:14:53Z","pushed_at":"2017-11-20T11:25:59Z","git_url":"git://github.com/jerneju/orange3.git","ssh_url":"git@github.com:jerneju/orange3.git","clone_url":"https://github.com/jerneju/orange3.git","svn_url":"https://github.com/jerneju/orange3","homepage":"","size":66224,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"biolab:master","ref":"master","sha":"301d13aebcbb96720d618f2595ec9cbcd720744c","user":{"login":"biolab","id":555189,"avatar_url":"https://avatars0.githubusercontent.com/u/555189?v=4","gravatar_id":"","url":"https://api.github.com/users/biolab","html_url":"https://github.com/biolab","followers_url":"https://api.github.com/users/biolab/followers","following_url":"https://api.github.com/users/biolab/following{/other_user}","gists_url":"https://api.github.com/users/biolab/gists{/gist_id}","starred_url":"https://api.github.com/users/biolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biolab/subscriptions","organizations_url":"https://api.github.com/users/biolab/orgs","repos_url":"https://api.github.com/users/biolab/repos","events_url":"https://api.github.com/users/biolab/events{/privacy}","received_events_url":"https://api.github.com/users/biolab/received_events","type":"Organization","site_admin":false},"repo":{"id":8357227,"name":"orange3","full_name":"biolab/orange3","owner":{"login":"biolab","id":555189,"avatar_url":"https://avatars0.githubusercontent.com/u/555189?v=4","gravatar_id":"","url":"https://api.github.com/users/biolab","html_url":"https://github.com/biolab","followers_url":"https://api.github.com/users/biolab/followers","following_url":"https://api.github.com/users/biolab/following{/other_user}","gists_url":"https://api.github.com/users/biolab/gists{/gist_id}","starred_url":"https://api.github.com/users/biolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biolab/subscriptions","organizations_url":"https://api.github.com/users/biolab/orgs","repos_url":"https://api.github.com/users/biolab/repos","events_url":"https://api.github.com/users/biolab/events{/privacy}","received_events_url":"https://api.github.com/users/biolab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biolab/orange3","description":"🍊 :bar_chart: :bulb: Orange: Interactive data analysis","fork":false,"url":"https://api.github.com/repos/biolab/orange3","forks_url":"https://api.github.com/repos/biolab/orange3/forks","keys_url":"https://api.github.com/repos/biolab/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biolab/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biolab/orange3/teams","hooks_url":"https://api.github.com/repos/biolab/orange3/hooks","issue_events_url":"https://api.github.com/repos/biolab/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/biolab/orange3/events","assignees_url":"https://api.github.com/repos/biolab/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/biolab/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/biolab/orange3/tags","blobs_url":"https://api.github.com/repos/biolab/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biolab/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biolab/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/biolab/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/biolab/orange3/languages","stargazers_url":"https://api.github.com/repos/biolab/orange3/stargazers","contributors_url":"https://api.github.com/repos/biolab/orange3/contributors","subscribers_url":"https://api.github.com/repos/biolab/orange3/subscribers","subscription_url":"https://api.github.com/repos/biolab/orange3/subscription","commits_url":"https://api.github.com/repos/biolab/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/biolab/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/biolab/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/biolab/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/biolab/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/biolab/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biolab/orange3/merges","archive_url":"https://api.github.com/repos/biolab/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biolab/orange3/downloads","issues_url":"https://api.github.com/repos/biolab/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/biolab/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/biolab/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/biolab/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biolab/orange3/labels{/name}","releases_url":"https://api.github.com/repos/biolab/orange3/releases{/id}","deployments_url":"https://api.github.com/repos/biolab/orange3/deployments","created_at":"2013-02-22T12:52:56Z","updated_at":"2017-11-20T14:28:04Z","pushed_at":"2017-11-20T17:54:08Z","git_url":"git://github.com/biolab/orange3.git","ssh_url":"git@github.com:biolab/orange3.git","clone_url":"https://github.com/biolab/orange3.git","svn_url":"https://github.com/biolab/orange3","homepage":"http://orange.biolab.si","size":66000,"stargazers_count":1044,"watchers_count":1044,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":309,"mirror_url":null,"archived":false,"open_issues_count":191,"forks":309,"open_issues":191,"watchers":1044,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/2737"},"html":{"href":"https://github.com/biolab/orange3/pull/2737"},"issue":{"href":"https://api.github.com/repos/biolab/orange3/issues/2737"},"comments":{"href":"https://api.github.com/repos/biolab/orange3/issues/2737/comments"},"review_comments":{"href":"https://api.github.com/repos/biolab/orange3/pulls/2737/comments"},"review_comment":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biolab/orange3/pulls/2737/commits"},"statuses":{"href":"https://api.github.com/repos/biolab/orange3/statuses/2c4f0ab4644abe10f964921d66c13c459867da31"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"janezd"}}