commit
da085db6d6
@ -165,6 +165,9 @@ FilteredTextEdit::keyPressEvent(QKeyEvent *event)
|
|||||||
MacHelper::showEmojiWindow();
|
MacHelper::showEmojiWindow();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (event->modifiers() == Qt::ControlModifier && event->key() == Qt::Key_U)
|
||||||
|
QTextEdit::setText("");
|
||||||
|
|
||||||
if (!isModifier) {
|
if (!isModifier) {
|
||||||
if (!typingTimer_->isActive())
|
if (!typingTimer_->isActive())
|
||||||
emit startedTyping();
|
emit startedTyping();
|
||||||
|
Loading…
Reference in New Issue
Block a user