{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/7868","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/7868/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/7868/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/7868/events","html_url":"https://github.com/xbmc/xbmc/pull/7868","id":102366820,"number":7868,"title":"[gui] fix CGUIDialogSelect::GetSelectedItem not returning the selected item","user":{"login":"tamland","id":148836,"avatar_url":"https://avatars.githubusercontent.com/u/148836?v=3","gravatar_id":"","url":"https://api.github.com/users/tamland","html_url":"https://github.com/tamland","followers_url":"https://api.github.com/users/tamland/followers","following_url":"https://api.github.com/users/tamland/following{/other_user}","gists_url":"https://api.github.com/users/tamland/gists{/gist_id}","starred_url":"https://api.github.com/users/tamland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamland/subscriptions","organizations_url":"https://api.github.com/users/tamland/orgs","repos_url":"https://api.github.com/users/tamland/repos","events_url":"https://api.github.com/users/tamland/events{/privacy}","received_events_url":"https://api.github.com/users/tamland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-21T12:16:44Z","updated_at":"2015-08-21T20:47:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/7868","html_url":"https://github.com/xbmc/xbmc/pull/7868","diff_url":"https://github.com/xbmc/xbmc/pull/7868.diff","patch_url":"https://github.com/xbmc/xbmc/pull/7868.patch"},"body":"Regression after e002a1b. `m_vecList` is cleared on deinit and therefore can't be used to get the selected item. This basically replaces `m_iSelected` to store the file item instead of the index (since we already store indices in `m_selectedItems`)\r\n\r\n@xhaggi for re-review:)"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/133558521","html_url":"https://github.com/xbmc/xbmc/pull/7868#issuecomment-133558521","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/7868","id":133558521,"user":{"login":"MartijnKaijser","id":907436,"avatar_url":"https://avatars.githubusercontent.com/u/907436?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T20:47:20Z","updated_at":"2015-08-21T20:47:20Z","body":"jenkins build this please"}}