We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37b8db7 + 5195c26 commit ff4ad44Copy full SHA for ff4ad44
src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -164,7 +164,7 @@ void QCoeFepInputContext::reset()
164
// text.
165
if (m_cachedPreeditString.isEmpty() && !(currentHints & Qt::ImhNoPredictiveText)) {
166
m_cachedPreeditString = m_preeditString;
167
- if (focusWidget()) {
+ if (focusWidget() && !m_cachedPreeditString.isEmpty()) {
168
int cursor = focusWidget()->inputMethodQuery(Qt::ImCursorPosition).toInt();
169
int anchor = focusWidget()->inputMethodQuery(Qt::ImAnchorPosition).toInt();
170
if (cursor == anchor)
0 commit comments