Skip to content
Commit ff9ea7a8 authored by Christoph Cullmann's avatar Christoph Cullmann 🍨
Browse files

fix memory corruption on 'Close the file, discard..'

if you remove some file from the file system
that is open in a KTextEditor document, some
message will show up

if you click the 'Close the file, discarding its content.'
button, we unfortunately delete "this" if the container
application like Kate provides the necessary interface

delay this, like e.g. the vim commands do

(+ guard vim commands by passing context pointer to doc/view)

BUG: 433180
parent 7dfa4816
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment