I just realised that if a user ignores the info and does something else before selecting to delete history it deletes the undo for the extra things the user did.
As this is a once only notification/question, it probably should be a modal dialog to prevent any further actions until it is actioned.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/672#issuecomment-145294647