mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
commit
da085db6d6
1 changed files with 3 additions and 0 deletions
|
@ -165,6 +165,9 @@ FilteredTextEdit::keyPressEvent(QKeyEvent *event)
|
|||
MacHelper::showEmojiWindow();
|
||||
#endif
|
||||
|
||||
if (event->modifiers() == Qt::ControlModifier && event->key() == Qt::Key_U)
|
||||
QTextEdit::setText("");
|
||||
|
||||
if (!isModifier) {
|
||||
if (!typingTimer_->isActive())
|
||||
emit startedTyping();
|
||||
|
|
Loading…
Reference in a new issue