summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/textedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/textedit.cpp')
-rw-r--r--desktop-widgets/textedit.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop-widgets/textedit.cpp b/desktop-widgets/textedit.cpp
new file mode 100644
index 000000000..0e5619e84
--- /dev/null
+++ b/desktop-widgets/textedit.cpp
@@ -0,0 +1,7 @@
+#include "textedit.h"
+
+void TextEdit::focusOutEvent(QFocusEvent *ev)
+{
+ QTextEdit::focusOutEvent(ev);
+ emit editingFinished();
+}