1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Fixed selecting all on click to location bar

- it was enabled even if you disabled it in preferences
This commit is contained in:
nowrep 2011-11-20 15:13:19 +01:00
parent a86a9882aa
commit 4bb5ff9b26

View File

@ -275,7 +275,7 @@ void LocationBar::mouseDoubleClickEvent(QMouseEvent* event)
void LocationBar::mousePressEvent(QMouseEvent* event)
{
if (cursorPosition() == 0) {
if (cursorPosition() == 0 && m_locationBarSettings->selectAllOnClick) {
selectAll();
return;
}