mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-21 03:06:34 +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:
parent
a86a9882aa
commit
4bb5ff9b26
@ -275,7 +275,7 @@ void LocationBar::mouseDoubleClickEvent(QMouseEvent* event)
|
|||||||
|
|
||||||
void LocationBar::mousePressEvent(QMouseEvent* event)
|
void LocationBar::mousePressEvent(QMouseEvent* event)
|
||||||
{
|
{
|
||||||
if (cursorPosition() == 0) {
|
if (cursorPosition() == 0 && m_locationBarSettings->selectAllOnClick) {
|
||||||
selectAll();
|
selectAll();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user