Skip to content

[kshortcuteditor] Undo pending changes on destruction

Nicolas Fella requested to merge work/nico/shortcut into master

Currently one has to manually call undo() to discard pending changes when being done with the widget.

This is error-prone because it's easy to forget or cause use-after-free issues when calling undo() on an already deleted editor.

Instead automatically undo() on destruction

CCBUG: 475083

BUG: 475097

BUG: 475095

Merge request reports