Skip to content
Commit b7365dfc authored by Nicolas Fella's avatar Nicolas Fella Committed by Christoph Cullmann
Browse files

[kshortcuteditor] Undo pending changes on destruction

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
parent 0ce13db9
Pipeline #507664 passed with stage
in 5 minutes and 52 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment