void LocationBar::textEdit() { if (!text().isEmpty()) { m_completer.complete(text()); } else { m_completer.closePopup(); } showGoButton(); }
void LocationBar::textEdit() { if (!text().isEmpty()) { m_completer.complete(text()); m_inlineCompletionVisible = true; } else { m_completer.closePopup(); } showGoButton(); }
void LocationBar::textEdit() { if (!text().isEmpty()) { m_completer.complete(text()); m_inlineCompletionVisible = true; } else { m_completer.closePopup(); } // Decide whether to draw cursor if (text().length() <= 1 && m_drawCursor && !m_popupClosed) { m_drawCursor = false; } showGoButton(); }
void LocationBar::textEdit() { m_locationCompleter->popup()->setUpdatesEnabled(false); showGoButton(); }