Removing unnecessary "if"


Hello!
I had to delete only the empty window (marked with a cross in the picture) but the entire "if else" block was deleted. And without asking for confirmation of deletion!!!
Moreover, "ctrl + z" does not work in this case - all work on the block is erased. And it is difficult to remember from memory.
Please make a warning about deleting something!

This bug has been reported to MIT, they are aware and working on a fix.

O! Thank you!!!

Have you tried taking the "else if" component out?