Fixed recursive text change event

Text changed event for the QPlainTextEdit doesn't fire recursively
anymore, thanks to a simple bool fix to see if the event is already
running.