Commit 53329256 authored by mae's avatar mae
Browse files

Turning blinking cursor on when handling backspace

Reviewed-by: thorbjorn
parent b61c5121
......@@ -1159,6 +1159,7 @@ void BaseTextEditor::keyPressEvent(QKeyEvent *e)
break;
pos = cpos;
}
setTextCursor(textCursor()); // make cursor visible
return;
} else switch (e->key()) {
......@@ -1202,6 +1203,7 @@ void BaseTextEditor::keyPressEvent(QKeyEvent *e)
| Qt::MetaModifier)) == Qt::NoModifier
&& !textCursor().hasSelection()) {
handleBackspaceKey();
setTextCursor(textCursor()); // make cursor visible
e->accept();
return;
}
......
Markdown is supported
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