f40a641801
Inline the checks, so that we call stopEdition() from a single place. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2766>