From fca19094a9c19071a89f7afc04193bf3da178855 Mon Sep 17 00:00:00 2001 From: "G.K.MacGregor" Date: Sun, 6 Sep 2020 17:42:58 +0100 Subject: [PATCH] Fix Z and X keys toggling the wrong mosaic bits. --- mainwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mainwidget.cpp b/mainwidget.cpp index e35ad39..a50738c 100644 --- a/mainwidget.cpp +++ b/mainwidget.cpp @@ -234,12 +234,12 @@ void TeletextWidget::keyPressEvent(QKeyEvent *event) toggleCharacterBit(0x08); // Middle right break; case Qt::Key_Z: - case Qt::Key_2: - toggleCharacterBit(0x40); // Bottom left + case Qt::Key_1: + toggleCharacterBit(0x10); // Bottom left break; case Qt::Key_X: - case Qt::Key_1: - toggleCharacterBit(0x10); // Bottom right + case Qt::Key_2: + toggleCharacterBit(0x40); // Bottom right break; case Qt::Key_R: case Qt::Key_9: