{"action":"created","issue":{"url":"https://api.github.com/repos/kliment/Printrun/issues/907","repository_url":"https://api.github.com/repos/kliment/Printrun","labels_url":"https://api.github.com/repos/kliment/Printrun/issues/907/labels{/name}","comments_url":"https://api.github.com/repos/kliment/Printrun/issues/907/comments","events_url":"https://api.github.com/repos/kliment/Printrun/issues/907/events","html_url":"https://github.com/kliment/Printrun/issues/907","id":304067007,"number":907,"title":"[2.x] Editing/re-defining a macro causes duplicates to appear in the menu","user":{"login":"VanessaE","id":1733537,"avatar_url":"https://avatars1.githubusercontent.com/u/1733537?v=4","gravatar_id":"","url":"https://api.github.com/users/VanessaE","html_url":"https://github.com/VanessaE","followers_url":"https://api.github.com/users/VanessaE/followers","following_url":"https://api.github.com/users/VanessaE/following{/other_user}","gists_url":"https://api.github.com/users/VanessaE/gists{/gist_id}","starred_url":"https://api.github.com/users/VanessaE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VanessaE/subscriptions","organizations_url":"https://api.github.com/users/VanessaE/orgs","repos_url":"https://api.github.com/users/VanessaE/repos","events_url":"https://api.github.com/users/VanessaE/events{/privacy}","received_events_url":"https://api.github.com/users/VanessaE/received_events","type":"User","site_admin":false},"labels":[{"id":854724474,"url":"https://api.github.com/repos/kliment/Printrun/labels/2.x","name":"2.x","color":"ce6444","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-10T12:28:46Z","updated_at":"2018-03-20T14:08:40Z","closed_at":null,"author_association":"NONE","body":"At commit eb6bd431cf7c9057492e0c0f011590f8fd16a8cc \r\n\r\nDefine two or more macros\r\nClose Pronterface and restart\r\nEdit one of the macros and save\r\nCheck \"Settings -> Macros\" and you'll find two copies of each defined macro (i.e. including ones you didn't re-edit).\r\n"},"comment":{"url":"https://api.github.com/repos/kliment/Printrun/issues/comments/374610848","html_url":"https://github.com/kliment/Printrun/issues/907#issuecomment-374610848","issue_url":"https://api.github.com/repos/kliment/Printrun/issues/907","id":374610848,"user":{"login":"hroncok","id":2401856,"avatar_url":"https://avatars2.githubusercontent.com/u/2401856?v=4","gravatar_id":"","url":"https://api.github.com/users/hroncok","html_url":"https://github.com/hroncok","followers_url":"https://api.github.com/users/hroncok/followers","following_url":"https://api.github.com/users/hroncok/following{/other_user}","gists_url":"https://api.github.com/users/hroncok/gists{/gist_id}","starred_url":"https://api.github.com/users/hroncok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hroncok/subscriptions","organizations_url":"https://api.github.com/users/hroncok/orgs","repos_url":"https://api.github.com/users/hroncok/repos","events_url":"https://api.github.com/users/hroncok/events{/privacy}","received_events_url":"https://api.github.com/users/hroncok/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T14:08:40Z","updated_at":"2018-03-20T14:08:40Z","author_association":"COLLABORATOR","body":"Reproduced on 610f9ff. This is the log from terminal:\r\n\r\nCreated macro foo:\r\n\r\n```\r\nMacro 'foo' defined\r\nMacro 'foo' defined\r\n```\r\n\r\nCreated macro bar:\r\n\r\n```\r\nMacro 'bar' defined\r\nMacro 'bar' defined\r\n```\r\n\r\nRestarted, edited macro foo:\r\n\r\n```\r\nMacro 'foo' defined\r\nMacro 'foo' defined\r\n```\r\n"}}
{"actor":{"display_login":"hroncok"}}