Skip to content

Commit

Permalink
Fix MessageView to enable the F12 key to show the tab
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakaoka committed Mar 24, 2024
1 parent 8ac2724 commit b50a559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Base/MessageView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -206,8 +206,8 @@ void TextEditEx::keyPressEvent(QKeyEvent* event)
ensureCursorVisible();
break;
default:
TextEdit::keyPressEvent(event);
break;
//TextEdit::keyPressEvent(event);
}
}

Expand Down

0 comments on commit b50a559

Please sign in to comment.