FelixBaensch / MORTAR

MOlecule fRagmenTAtion fRamework
MIT License
18 stars 3 forks source link

Make tabs closeable, including close all functionality #80

Open JonasSchaub opened 3 months ago

FelixBaensch commented 3 months ago

"Close all" could be controlled by closing the molecule tab.

JonasSchaub commented 2 months ago

I don't really like this idea, to be honest. I think all tabs should be closeable without closing the molecules tab. I.e. when I have run a lot of fragmentations already but want to clear everything away to run a new one find it more easily. Do you see other use cases for "close all"?

FelixBaensch commented 2 months ago

Ok, then the "close all" is to be understood differently. I really understood it as "close all tabs (incl. Molecules tab)". But one does not exclude the other. To "only" close the results tabs, I'm with you and would take a different approach. Please also note that it is not enough just to close the tabs, the data structures must also be cleared.