aboutsummaryrefslogtreecommitdiff
path: root/dw/selection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/selection.cc')
-rw-r--r--dw/selection.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/selection.cc b/dw/selection.cc
index 3153576f..7fb25e21 100644
--- a/dw/selection.cc
+++ b/dw/selection.cc
@@ -95,13 +95,13 @@ void SelectionState::resetLink ()
link = NULL;
linkState = LINK_NONE;
}
-
+
bool SelectionState::buttonPress (Iterator *it, int charPos, int linkNo,
EventButton *event, bool withinContent)
{
Widget *itWidget = it->getWidget ();
bool ret = false;
-
+
if (event && event->button == 1 &&
!withinContent && event->numPressed == 2) {
// When the user double-clicks on empty parts, emit the double click