Skip to content

Commit

Permalink
v1.09e, fix issue with pressing tab and text selected in editor clear…
Browse files Browse the repository at this point in the history
…ing text
  • Loading branch information
thedjnK committed Oct 18, 2017
1 parent 3d4f11d commit 9adb494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LrdScrollEdit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion UwxMainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9adb494

Please sign in to comment.