Page MenuHome

Fix T59946: Multiple quit dialogs possible

Authored by Sebastian Parborg (zeddb) on Dec 30 2018, 2:26 PM.



It was possible to spawn multiple "Confirm quit" popups. If you didn't want to quit, you had to individually cancel each one of them.

This patch adds a check to see if any quit dialogs already has been spawned.

I couldn't find any other function to lookup existing block names, so I created one.

Diff Detail

Event Timeline

Works for me.

Kind of related but maybe should be another bug report. You can drag the confirm dialog around, but if the mouse passes over a button in it, it will snap back to the centre.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 4 2019, 2:46 PM
This revision was automatically updated to reflect the committed changes.

Committed with some minor renaming, since the way this new function works is specific to popup blocks.