From b50a559e4711111499b933e6f39ac660ec2a81fc Mon Sep 17 00:00:00 2001 From: Shin'ichiro Nakaoka Date: Sun, 24 Mar 2024 22:56:58 +0900 Subject: [PATCH] Fix MessageView to enable the F12 key to show the tab --- src/Base/MessageView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Base/MessageView.cpp b/src/Base/MessageView.cpp index f851281f4..d3b31997a 100644 --- a/src/Base/MessageView.cpp +++ b/src/Base/MessageView.cpp @@ -191,7 +191,7 @@ int MessageViewStreamBuf::sync() void TextEditEx::keyPressEvent(QKeyEvent* event) { - if ((event->modifiers().testFlag(Qt::ControlModifier))){ + if((event->modifiers().testFlag(Qt::ControlModifier))){ switch(event->key()){ case Qt::Key_C: case Qt::Key_A: @@ -206,8 +206,8 @@ void TextEditEx::keyPressEvent(QKeyEvent* event) ensureCursorVisible(); break; default: + TextEdit::keyPressEvent(event); break; - //TextEdit::keyPressEvent(event); } }