{"action":"created","issue":{"url":"https://api.github.com/repos/LMMS/lmms/issues/1505","labels_url":"https://api.github.com/repos/LMMS/lmms/issues/1505/labels{/name}","comments_url":"https://api.github.com/repos/LMMS/lmms/issues/1505/comments","events_url":"https://api.github.com/repos/LMMS/lmms/issues/1505/events","html_url":"https://github.com/LMMS/lmms/pull/1505","id":52895494,"number":1505,"title":"Proposed fix for 1150 Preset Browser: division between factory and user ...","user":{"login":"curlymorphic","id":7412852,"avatar_url":"https://avatars.githubusercontent.com/u/7412852?v=3","gravatar_id":"","url":"https://api.github.com/users/curlymorphic","html_url":"https://github.com/curlymorphic","followers_url":"https://api.github.com/users/curlymorphic/followers","following_url":"https://api.github.com/users/curlymorphic/following{/other_user}","gists_url":"https://api.github.com/users/curlymorphic/gists{/gist_id}","starred_url":"https://api.github.com/users/curlymorphic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curlymorphic/subscriptions","organizations_url":"https://api.github.com/users/curlymorphic/orgs","repos_url":"https://api.github.com/users/curlymorphic/repos","events_url":"https://api.github.com/users/curlymorphic/events{/privacy}","received_events_url":"https://api.github.com/users/curlymorphic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-26T11:07:07Z","updated_at":"2015-04-06T15:54:14Z","closed_at":"2015-01-10T02:30:45Z","pull_request":{"url":"https://api.github.com/repos/LMMS/lmms/pulls/1505","html_url":"https://github.com/LMMS/lmms/pull/1505","diff_url":"https://github.com/LMMS/lmms/pull/1505.diff","patch_url":"https://github.com/LMMS/lmms/pull/1505.patch"},"body":"Proposed fix for  #1150 Preset Browser: division between factory and user files fails if factory has folders\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7412852/5557268/0204f98e-8cef-11e4-8bd2-a65722ec8ad3.png)\r\n\r\nSimply added a counter to the Directory class. that is incremented for every child directory added.\r\n\r\nThen used this counter to calc the position in tree of --Factory Presets --\r\n"},"comment":{"url":"https://api.github.com/repos/LMMS/lmms/issues/comments/90121791","html_url":"https://github.com/LMMS/lmms/pull/1505#issuecomment-90121791","issue_url":"https://api.github.com/repos/LMMS/lmms/issues/1505","id":90121791,"user":{"login":"curlymorphic","id":7412852,"avatar_url":"https://avatars.githubusercontent.com/u/7412852?v=3","gravatar_id":"","url":"https://api.github.com/users/curlymorphic","html_url":"https://github.com/curlymorphic","followers_url":"https://api.github.com/users/curlymorphic/followers","following_url":"https://api.github.com/users/curlymorphic/following{/other_user}","gists_url":"https://api.github.com/users/curlymorphic/gists{/gist_id}","starred_url":"https://api.github.com/users/curlymorphic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curlymorphic/subscriptions","organizations_url":"https://api.github.com/users/curlymorphic/orgs","repos_url":"https://api.github.com/users/curlymorphic/repos","events_url":"https://api.github.com/users/curlymorphic/events{/privacy}","received_events_url":"https://api.github.com/users/curlymorphic/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T15:54:14Z","updated_at":"2015-04-06T15:54:14Z","body":"sure :)\r\n"}}