{"action":"closed","number":135,"pull_request":{"url":"https://api.github.com/repos/qterminal/qterminal/pulls/135","id":30726627,"html_url":"https://github.com/qterminal/qterminal/pull/135","diff_url":"https://github.com/qterminal/qterminal/pull/135.diff","patch_url":"https://github.com/qterminal/qterminal/pull/135.patch","issue_url":"https://api.github.com/repos/qterminal/qterminal/issues/135","number":135,"state":"closed","locked":false,"title":"Update index property of tabs when tabs are moved by drag-and-drop.","user":{"login":"worblehat","id":2873504,"avatar_url":"https://avatars.githubusercontent.com/u/2873504?v=3","gravatar_id":"","url":"https://api.github.com/users/worblehat","html_url":"https://github.com/worblehat","followers_url":"https://api.github.com/users/worblehat/followers","following_url":"https://api.github.com/users/worblehat/following{/other_user}","gists_url":"https://api.github.com/users/worblehat/gists{/gist_id}","starred_url":"https://api.github.com/users/worblehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worblehat/subscriptions","organizations_url":"https://api.github.com/users/worblehat/orgs","repos_url":"https://api.github.com/users/worblehat/repos","events_url":"https://api.github.com/users/worblehat/events{/privacy}","received_events_url":"https://api.github.com/users/worblehat/received_events","type":"User","site_admin":false},"body":"Fixes #127\r\n\r\nWhen a tab is closed because the contained terminal finisched, the TAB_INDEX_PROPERTY is used to  determine the index of the tab. This property was not updated when the user reordered the tabs by drag-and-drop.\r\n\r\nI also renamed 'recountIndexes()' to 'updateTabIndices()' to make its intent more clear.","created_at":"2015-03-08T21:14:22Z","updated_at":"2015-03-08T21:15:27Z","closed_at":"2015-03-08T21:15:27Z","merged_at":"2015-03-08T21:15:27Z","merge_commit_sha":"f44b7a805f712dab085095c59f115221c8d33f7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/qterminal/qterminal/pulls/135/commits","review_comments_url":"https://api.github.com/repos/qterminal/qterminal/pulls/135/comments","review_comment_url":"https://api.github.com/repos/qterminal/qterminal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qterminal/qterminal/issues/135/comments","statuses_url":"https://api.github.com/repos/qterminal/qterminal/statuses/a39ce242cc3e9116e4debacb061f7d824f07c33d","head":{"label":"worblehat:exit-moved-tabs","ref":"exit-moved-tabs","sha":"a39ce242cc3e9116e4debacb061f7d824f07c33d","user":{"login":"worblehat","id":2873504,"avatar_url":"https://avatars.githubusercontent.com/u/2873504?v=3","gravatar_id":"","url":"https://api.github.com/users/worblehat","html_url":"https://github.com/worblehat","followers_url":"https://api.github.com/users/worblehat/followers","following_url":"https://api.github.com/users/worblehat/following{/other_user}","gists_url":"https://api.github.com/users/worblehat/gists{/gist_id}","starred_url":"https://api.github.com/users/worblehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worblehat/subscriptions","organizations_url":"https://api.github.com/users/worblehat/orgs","repos_url":"https://api.github.com/users/worblehat/repos","events_url":"https://api.github.com/users/worblehat/events{/privacy}","received_events_url":"https://api.github.com/users/worblehat/received_events","type":"User","site_admin":false},"repo":{"id":31007692,"name":"qterminal","full_name":"worblehat/qterminal","owner":{"login":"worblehat","id":2873504,"avatar_url":"https://avatars.githubusercontent.com/u/2873504?v=3","gravatar_id":"","url":"https://api.github.com/users/worblehat","html_url":"https://github.com/worblehat","followers_url":"https://api.github.com/users/worblehat/followers","following_url":"https://api.github.com/users/worblehat/following{/other_user}","gists_url":"https://api.github.com/users/worblehat/gists{/gist_id}","starred_url":"https://api.github.com/users/worblehat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worblehat/subscriptions","organizations_url":"https://api.github.com/users/worblehat/orgs","repos_url":"https://api.github.com/users/worblehat/repos","events_url":"https://api.github.com/users/worblehat/events{/privacy}","received_events_url":"https://api.github.com/users/worblehat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/worblehat/qterminal","description":"Lightweight terminal emulator written in Qt","fork":true,"url":"https://api.github.com/repos/worblehat/qterminal","forks_url":"https://api.github.com/repos/worblehat/qterminal/forks","keys_url":"https://api.github.com/repos/worblehat/qterminal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/worblehat/qterminal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/worblehat/qterminal/teams","hooks_url":"https://api.github.com/repos/worblehat/qterminal/hooks","issue_events_url":"https://api.github.com/repos/worblehat/qterminal/issues/events{/number}","events_url":"https://api.github.com/repos/worblehat/qterminal/events","assignees_url":"https://api.github.com/repos/worblehat/qterminal/assignees{/user}","branches_url":"https://api.github.com/repos/worblehat/qterminal/branches{/branch}","tags_url":"https://api.github.com/repos/worblehat/qterminal/tags","blobs_url":"https://api.github.com/repos/worblehat/qterminal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/worblehat/qterminal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/worblehat/qterminal/git/refs{/sha}","trees_url":"https://api.github.com/repos/worblehat/qterminal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/worblehat/qterminal/statuses/{sha}","languages_url":"https://api.github.com/repos/worblehat/qterminal/languages","stargazers_url":"https://api.github.com/repos/worblehat/qterminal/stargazers","contributors_url":"https://api.github.com/repos/worblehat/qterminal/contributors","subscribers_url":"https://api.github.com/repos/worblehat/qterminal/subscribers","subscription_url":"https://api.github.com/repos/worblehat/qterminal/subscription","commits_url":"https://api.github.com/repos/worblehat/qterminal/commits{/sha}","git_commits_url":"https://api.github.com/repos/worblehat/qterminal/git/commits{/sha}","comments_url":"https://api.github.com/repos/worblehat/qterminal/comments{/number}","issue_comment_url":"https://api.github.com/repos/worblehat/qterminal/issues/comments{/number}","contents_url":"https://api.github.com/repos/worblehat/qterminal/contents/{+path}","compare_url":"https://api.github.com/repos/worblehat/qterminal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/worblehat/qterminal/merges","archive_url":"https://api.github.com/repos/worblehat/qterminal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/worblehat/qterminal/downloads","issues_url":"https://api.github.com/repos/worblehat/qterminal/issues{/number}","pulls_url":"https://api.github.com/repos/worblehat/qterminal/pulls{/number}","milestones_url":"https://api.github.com/repos/worblehat/qterminal/milestones{/number}","notifications_url":"https://api.github.com/repos/worblehat/qterminal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/worblehat/qterminal/labels{/name}","releases_url":"https://api.github.com/repos/worblehat/qterminal/releases{/id}","created_at":"2015-02-19T09:02:14Z","updated_at":"2015-03-07T15:17:48Z","pushed_at":"2015-03-08T21:05:09Z","git_url":"git://github.com/worblehat/qterminal.git","ssh_url":"git@github.com:worblehat/qterminal.git","clone_url":"https://github.com/worblehat/qterminal.git","svn_url":"https://github.com/worblehat/qterminal","homepage":"","size":679,"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":"qterminal:master","ref":"master","sha":"03392afa0b491c161b97397fb8f7bca69837835b","user":{"login":"qterminal","id":1456224,"avatar_url":"https://avatars.githubusercontent.com/u/1456224?v=3","gravatar_id":"","url":"https://api.github.com/users/qterminal","html_url":"https://github.com/qterminal","followers_url":"https://api.github.com/users/qterminal/followers","following_url":"https://api.github.com/users/qterminal/following{/other_user}","gists_url":"https://api.github.com/users/qterminal/gists{/gist_id}","starred_url":"https://api.github.com/users/qterminal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qterminal/subscriptions","organizations_url":"https://api.github.com/users/qterminal/orgs","repos_url":"https://api.github.com/users/qterminal/repos","events_url":"https://api.github.com/users/qterminal/events{/privacy}","received_events_url":"https://api.github.com/users/qterminal/received_events","type":"Organization","site_admin":false},"repo":{"id":3504464,"name":"qterminal","full_name":"qterminal/qterminal","owner":{"login":"qterminal","id":1456224,"avatar_url":"https://avatars.githubusercontent.com/u/1456224?v=3","gravatar_id":"","url":"https://api.github.com/users/qterminal","html_url":"https://github.com/qterminal","followers_url":"https://api.github.com/users/qterminal/followers","following_url":"https://api.github.com/users/qterminal/following{/other_user}","gists_url":"https://api.github.com/users/qterminal/gists{/gist_id}","starred_url":"https://api.github.com/users/qterminal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qterminal/subscriptions","organizations_url":"https://api.github.com/users/qterminal/orgs","repos_url":"https://api.github.com/users/qterminal/repos","events_url":"https://api.github.com/users/qterminal/events{/privacy}","received_events_url":"https://api.github.com/users/qterminal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qterminal/qterminal","description":"Lightweight terminal emulator written in Qt","fork":false,"url":"https://api.github.com/repos/qterminal/qterminal","forks_url":"https://api.github.com/repos/qterminal/qterminal/forks","keys_url":"https://api.github.com/repos/qterminal/qterminal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qterminal/qterminal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qterminal/qterminal/teams","hooks_url":"https://api.github.com/repos/qterminal/qterminal/hooks","issue_events_url":"https://api.github.com/repos/qterminal/qterminal/issues/events{/number}","events_url":"https://api.github.com/repos/qterminal/qterminal/events","assignees_url":"https://api.github.com/repos/qterminal/qterminal/assignees{/user}","branches_url":"https://api.github.com/repos/qterminal/qterminal/branches{/branch}","tags_url":"https://api.github.com/repos/qterminal/qterminal/tags","blobs_url":"https://api.github.com/repos/qterminal/qterminal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qterminal/qterminal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qterminal/qterminal/git/refs{/sha}","trees_url":"https://api.github.com/repos/qterminal/qterminal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qterminal/qterminal/statuses/{sha}","languages_url":"https://api.github.com/repos/qterminal/qterminal/languages","stargazers_url":"https://api.github.com/repos/qterminal/qterminal/stargazers","contributors_url":"https://api.github.com/repos/qterminal/qterminal/contributors","subscribers_url":"https://api.github.com/repos/qterminal/qterminal/subscribers","subscription_url":"https://api.github.com/repos/qterminal/qterminal/subscription","commits_url":"https://api.github.com/repos/qterminal/qterminal/commits{/sha}","git_commits_url":"https://api.github.com/repos/qterminal/qterminal/git/commits{/sha}","comments_url":"https://api.github.com/repos/qterminal/qterminal/comments{/number}","issue_comment_url":"https://api.github.com/repos/qterminal/qterminal/issues/comments{/number}","contents_url":"https://api.github.com/repos/qterminal/qterminal/contents/{+path}","compare_url":"https://api.github.com/repos/qterminal/qterminal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qterminal/qterminal/merges","archive_url":"https://api.github.com/repos/qterminal/qterminal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qterminal/qterminal/downloads","issues_url":"https://api.github.com/repos/qterminal/qterminal/issues{/number}","pulls_url":"https://api.github.com/repos/qterminal/qterminal/pulls{/number}","milestones_url":"https://api.github.com/repos/qterminal/qterminal/milestones{/number}","notifications_url":"https://api.github.com/repos/qterminal/qterminal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qterminal/qterminal/labels{/name}","releases_url":"https://api.github.com/repos/qterminal/qterminal/releases{/id}","created_at":"2012-02-21T14:19:12Z","updated_at":"2015-03-08T21:15:27Z","pushed_at":"2015-03-08T21:15:27Z","git_url":"git://github.com/qterminal/qterminal.git","ssh_url":"git@github.com:qterminal/qterminal.git","clone_url":"https://github.com/qterminal/qterminal.git","svn_url":"https://github.com/qterminal/qterminal","homepage":"","size":1212,"stargazers_count":50,"watchers_count":50,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":38,"forks":27,"open_issues":38,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qterminal/qterminal/pulls/135"},"html":{"href":"https://github.com/qterminal/qterminal/pull/135"},"issue":{"href":"https://api.github.com/repos/qterminal/qterminal/issues/135"},"comments":{"href":"https://api.github.com/repos/qterminal/qterminal/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/qterminal/qterminal/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/qterminal/qterminal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qterminal/qterminal/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/qterminal/qterminal/statuses/a39ce242cc3e9116e4debacb061f7d824f07c33d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jleclanche","id":235410,"avatar_url":"https://avatars.githubusercontent.com/u/235410?v=3","gravatar_id":"","url":"https://api.github.com/users/jleclanche","html_url":"https://github.com/jleclanche","followers_url":"https://api.github.com/users/jleclanche/followers","following_url":"https://api.github.com/users/jleclanche/following{/other_user}","gists_url":"https://api.github.com/users/jleclanche/gists{/gist_id}","starred_url":"https://api.github.com/users/jleclanche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleclanche/subscriptions","organizations_url":"https://api.github.com/users/jleclanche/orgs","repos_url":"https://api.github.com/users/jleclanche/repos","events_url":"https://api.github.com/users/jleclanche/events{/privacy}","received_events_url":"https://api.github.com/users/jleclanche/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":6,"changed_files":2}}