diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-07-15 15:14:46 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-07-16 07:56:05 +0000 |
commit | 6019f8f40e97144cb60ce7db61b9fe05aa5395fe (patch) | |
tree | fe3819cbb5601f25ff77ef5b5ddefa7538317345 | |
parent | 4ea3dcd701e180cabda772b891d191f9895836cc (diff) |
BinEditor: Fix "Find Next" for a single char
Change-Id: If35807230969d3620a3a9018af8d2c21236cd58d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | src/plugins/bineditor/bineditorplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bineditor/bineditorplugin.cpp b/src/plugins/bineditor/bineditorplugin.cpp index 71e7c09f13..d8ca404f87 100644 --- a/src/plugins/bineditor/bineditorplugin.cpp +++ b/src/plugins/bineditor/bineditorplugin.cpp @@ -159,7 +159,7 @@ public: QByteArray pattern = txt.toLatin1(); bool wasReset = (m_incrementalStartPos < 0); if (m_contPos == -1) { - m_contPos = m_widget->cursorPosition(); + m_contPos = m_widget->cursorPosition() + 1; if (findFlags & FindBackward) m_contPos = m_widget->selectionStart()-1; } |