{"action":"opened","issue":{"url":"https://api.github.com/repos/nus-fboa2016-PL/PowerPointLabs/issues/21","repository_url":"https://api.github.com/repos/nus-fboa2016-PL/PowerPointLabs","labels_url":"https://api.github.com/repos/nus-fboa2016-PL/PowerPointLabs/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/nus-fboa2016-PL/PowerPointLabs/issues/21/comments","events_url":"https://api.github.com/repos/nus-fboa2016-PL/PowerPointLabs/issues/21/events","html_url":"https://github.com/nus-fboa2016-PL/PowerPointLabs/issues/21","id":137561187,"number":21,"title":"Distribute Grid Crashes when no shapes are selected","user":{"login":"vhazali","id":8543547,"avatar_url":"https://avatars.githubusercontent.com/u/8543547?v=3","gravatar_id":"","url":"https://api.github.com/users/vhazali","html_url":"https://github.com/vhazali","followers_url":"https://api.github.com/users/vhazali/followers","following_url":"https://api.github.com/users/vhazali/following{/other_user}","gists_url":"https://api.github.com/users/vhazali/gists{/gist_id}","starred_url":"https://api.github.com/users/vhazali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhazali/subscriptions","organizations_url":"https://api.github.com/users/vhazali/orgs","repos_url":"https://api.github.com/users/vhazali/repos","events_url":"https://api.github.com/users/vhazali/events{/privacy}","received_events_url":"https://api.github.com/users/vhazali/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nus-fboa2016-PL/PowerPointLabs/labels/Feature.PositionsLab","name":"Feature.PositionsLab","color":"FFFFFF"},{"url":"https://api.github.com/repos/nus-fboa2016-PL/PowerPointLabs/labels/Type.bug","name":"Type.bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-01T12:29:08Z","updated_at":"2016-03-01T12:29:08Z","closed_at":null,"body":"When the user does not select any shapes and click on the Distribute by Grid button, the system will crash.\r\n\r\nThis should be due to ce0b9b5 line152, the 1 at the end.\r\n`List<Shape> selectedShapes = ConvertShapeRangeToList(this.GetCurrentSelection().ShapeRange, 1);`"}}