REGRESSION(r164401): Placing a caret doesn't bring up autocorrection panel
[WebKit-https.git] / Source / WebCore / editing / Editor.cpp
index 0e996c1b7a43595cd8b54448cf8d1f6bdaad733b..a3da9a2800c220389243e84dbddb21c4f260f7ed 100644 (file)
@@ -3531,7 +3531,7 @@ void Editor::editorUIUpdateTimerFired(Timer<Editor>&)
 #if ENABLE(DELETION_UI)
     m_deleteButtonController->respondToChangedSelection(oldSelection);
 #endif
-    if (m_editorUIUpdateTimerWasTriggeredByDictation)
+    if (!m_editorUIUpdateTimerWasTriggeredByDictation)
         m_alternativeTextController->respondToChangedSelection(oldSelection);
 
     m_oldSelectionForEditorUIUpdate = m_frame.selection().selection();