mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
commit
da085db6d6
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue