From ba630bbf5b30751d5d3aabb2a9fe7ec1fe28bec8 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Thu, 9 Jul 2009 23:59:21 +0200 Subject: [PATCH] Fix champlain_selection_layer_select() in single mode. The method was acting as a NOOP because of a mistake in real_select(). --- champlain/champlain-selection-layer.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/champlain/champlain-selection-layer.c b/champlain/champlain-selection-layer.c index f0252ba..acd5088 100644 --- a/champlain/champlain-selection-layer.c +++ b/champlain/champlain-selection-layer.c @@ -129,10 +129,6 @@ real_select (ChamplainSelectionLayer *layer, DEBUG ("Select %p", marker); if (layer->priv->mode == CHAMPLAIN_SELECTION_SINGLE) - { - return; - } - else if (layer->priv->mode == CHAMPLAIN_SELECTION_SINGLE) { /* Clear previous selection */ champlain_selection_layer_unselect_all (layer); -- 2.39.5