Issue 1053: Target tree allows for manual creation of nonsense molecules e.g. "U-H2O"

issues
Status:open
Assigned To:Brian Pratt
Type:Defect
Area:Skyline
Priority:3
Milestone: 
Opened:2025-10-16 09:12 by Brian Pratt
Changed:2025-10-16 09:12 by Brian Pratt
Resolved:
Resolution:
Closed:
2025-10-16 09:12 Brian Pratt
Title»Target tree allows for manual creation of nonsense molecules e.g. "U-H2O"
Assigned To»Brian Pratt
Type»Defect
Area»Skyline
Priority»3
There's already handling for trying to add nonsense adducts that would remove more atoms than are present, but even that needs improvement - it turns the textbox contents red and refuses to commit the change, but doesn't say why. Probably a tooltip with the reason is the way to go there and in the molecule setup as well.