summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-11 00:19:05 -0500
committerTimothy Pearson <[email protected]>2014-10-11 00:19:05 -0500
commitd8d566bb0f1e1e740c7a76e6f6d0c51a2f65acde (patch)
tree81b09bd817285108e26aeb8fc8e9ac466d56cf93
parent276f3d1818d77a8b84ecfa39709bcc011591f5c3 (diff)
downloadtdebase-d8d566bb0f1e1e740c7a76e6f6d0c51a2f65acde.tar.gz
tdebase-d8d566bb0f1e1e740c7a76e6f6d0c51a2f65acde.zip
Fix Konsole cursor redraw on focus in
This was accidentally broken in commit efdf0bbc This resolves Bug 2142
-rw-r--r--konsole/konsole/TEWidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/konsole/konsole/TEWidget.cpp b/konsole/konsole/TEWidget.cpp
index f16d97aac..f151044fc 100644
--- a/konsole/konsole/TEWidget.cpp
+++ b/konsole/konsole/TEWidget.cpp
@@ -1929,7 +1929,8 @@ bool TEWidget::eventFilter( TQObject *obj, TQEvent *e )
if (fe->gotFocus())
{
emit focusInSignal(fe);
- return true;
+ // Do NOT return here otherwise the focusInEvent below will not fire, causing cursor drawing problems on focus
+ // See Bug 2142
}
}
if ( e->type() == TQEvent::Enter )