diff --git a/LrdScrollEdit.cpp b/LrdScrollEdit.cpp index 2791631..e7f82bf 100644 --- a/LrdScrollEdit.cpp +++ b/LrdScrollEdit.cpp @@ -275,7 +275,7 @@ LrdScrollEdit::eventFilter( this->UpdateCursor(); return true; } - else if (keyEvent->key() != Qt::Key_Escape && keyEvent->key() != Qt::Key_Tab && keyEvent->key() != Qt::Key_Backtab && keyEvent->key() != Qt::Key_Backspace && keyEvent->key() != Qt::Key_Insert && keyEvent->key() != Qt::Key_Pause && keyEvent->key() != Qt::Key_Print && keyEvent->key() != Qt::Key_SysReq && keyEvent->key() != Qt::Key_Clear && keyEvent->key() != Qt::Key_Home && keyEvent->key() != Qt::Key_End && keyEvent->key() != Qt::Key_Shift && keyEvent->key() != Qt::Key_Control && keyEvent->key() != Qt::Key_Meta && keyEvent->key() != Qt::Key_Alt && keyEvent->key() != Qt::Key_AltGr && keyEvent->key() != Qt::Key_CapsLock && keyEvent->key() != Qt::Key_NumLock && keyEvent->key() != Qt::Key_ScrollLock && !(keyEvent->modifiers() & Qt::ControlModifier)) + else if (keyEvent->key() != Qt::Key_Escape && keyEvent->key() != Qt::Key_Backtab && keyEvent->key() != Qt::Key_Backspace && keyEvent->key() != Qt::Key_Insert && keyEvent->key() != Qt::Key_Pause && keyEvent->key() != Qt::Key_Print && keyEvent->key() != Qt::Key_SysReq && keyEvent->key() != Qt::Key_Clear && keyEvent->key() != Qt::Key_Home && keyEvent->key() != Qt::Key_End && keyEvent->key() != Qt::Key_Shift && keyEvent->key() != Qt::Key_Control && keyEvent->key() != Qt::Key_Meta && keyEvent->key() != Qt::Key_Alt && keyEvent->key() != Qt::Key_AltGr && keyEvent->key() != Qt::Key_CapsLock && keyEvent->key() != Qt::Key_NumLock && keyEvent->key() != Qt::Key_ScrollLock && !(keyEvent->modifiers() & Qt::ControlModifier)) { //Move cursor to correct position to prevent inserting at wrong location if e.g. text is selected this->UpdateCursor(); diff --git a/UwxMainWindow.h b/UwxMainWindow.h index 0a03215..78b6525 100644 --- a/UwxMainWindow.h +++ b/UwxMainWindow.h @@ -103,7 +103,7 @@ const qint8 MODE_UPDATE_ERROR_CODE = 16; const qint8 MODE_CHECK_FIRMWARE_VERSIONS = 17; const qint8 MODE_CHECK_FIRMWARE_SUPPORT = 18; //Constants for version and functions -const QString UwVersion = "1.09d"; //Version string +const QString UwVersion = "1.09e"; //Version string //Constants for timeouts and streaming const qint16 FileReadBlock = 512; //Number of bytes to read per block when streaming files const qint16 StreamProgress = 10000; //Number of bytes between streaming progress updates