Bug in Copy As in Menu

When you try to copy As Smiles or Inchl when there are not any atoms . the system crashes.
The output of the builded version on ubuntu.(Segmentation Fault occurs).

I recreated the same bug in windows and ubuntu both .

I think we just need to check if there are atoms or not like we did for previous bugs.

That’s great. Seems like you should try all the commands with an empty molecule.

(I wonder if there’s a way to automate testing of the GUI.)

Sure i will try to do that :grinning:

This one should be fixed now: