diff --git a/src/autotype/AutoType.cpp b/src/autotype/AutoType.cpp index da478c44e..0ab6edc3c 100644 --- a/src/autotype/AutoType.cpp +++ b/src/autotype/AutoType.cpp @@ -80,6 +80,7 @@ namespace {"end", Qt::Key_End}, {"pgup", Qt::Key_PageUp}, {"pgdown", Qt::Key_PageDown}, + {"pgdn", Qt::Key_PageDown}, {"backspace", Qt::Key_Backspace}, {"bs", Qt::Key_Backspace}, {"bksp", Qt::Key_Backspace}, diff --git a/tests/TestAutoType.cpp b/tests/TestAutoType.cpp index 5af0af984..231d68006 100644 --- a/tests/TestAutoType.cpp +++ b/tests/TestAutoType.cpp @@ -350,6 +350,8 @@ void TestAutoType::testAutoTypeSyntaxChecks() QVERIFY2(AutoType::verifyAutoTypeSyntax("{NUMPAD1 3}", entry, error), error.toLatin1()); + QVERIFY2(AutoType::verifyAutoTypeSyntax("{PGDN}", entry, error), error.toLatin1()); + QVERIFY2(AutoType::verifyAutoTypeSyntax("{S:SPECIALTOKEN}", entry, error), error.toLatin1()); QVERIFY2(AutoType::verifyAutoTypeSyntax("{S:SPECIAL TOKEN}", entry, error), error.toLatin1()); QVERIFY2(AutoType::verifyAutoTypeSyntax("{S:SPECIAL_TOKEN}", entry, error), error.toLatin1());