diff --git a/src/lib/navigation/locationbar.cpp b/src/lib/navigation/locationbar.cpp index 26963a4e1..b017ceb2e 100644 --- a/src/lib/navigation/locationbar.cpp +++ b/src/lib/navigation/locationbar.cpp @@ -123,7 +123,6 @@ void LocationBar::setText(const QString &text) { LineEdit::setText(text); m_forcePaintEvent = true; - setCursorPosition(0); } void LocationBar::updatePlaceHolderText() @@ -435,7 +434,6 @@ void LocationBar::focusOutEvent(QFocusEvent* event) m_popupClosed = false; m_forcePaintEvent = true; - setCursorPosition(0); hideGoButton(); if (text().trimmed().isEmpty()) {