{"action":"closed","issue":{"url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/266","labels_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/266/comments","events_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/266/events","html_url":"https://github.com/DarkFenX/Pyfa/issues/266","id":62933995,"number":266,"title":"Deleting a fit twice crashes Pyfa","user":{"login":"Iiridayn","id":220191,"avatar_url":"https://avatars.githubusercontent.com/u/220191?v=3","gravatar_id":"","url":"https://api.github.com/users/Iiridayn","html_url":"https://github.com/Iiridayn","followers_url":"https://api.github.com/users/Iiridayn/followers","following_url":"https://api.github.com/users/Iiridayn/following{/other_user}","gists_url":"https://api.github.com/users/Iiridayn/gists{/gist_id}","starred_url":"https://api.github.com/users/Iiridayn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iiridayn/subscriptions","organizations_url":"https://api.github.com/users/Iiridayn/orgs","repos_url":"https://api.github.com/users/Iiridayn/repos","events_url":"https://api.github.com/users/Iiridayn/events{/privacy}","received_events_url":"https://api.github.com/users/Iiridayn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T09:52:52Z","updated_at":"2015-04-14T21:26:44Z","closed_at":"2015-04-14T21:26:44Z","body":"Steps to replicate:\r\n\r\n1. Create a blank fitting.\r\n2. Create a copy of blank fitting.\r\n3. Double click the delete button.\r\n\r\nThe timing on this is a bit tight - much less so for larger fittings with many modules/drones/etc. I first found this by deleting a ship while renaming it (after copying) - that might make the timing easier. I have successfully replicated it with only step 1 and 3 though. (It also locked up once).\r\n\r\nI suspect deletion doesn't have checks for if the thing to be deleted still exists - or that the checks are somehow confused if the fitting was just created."}}