diff options
-rw-r--r-- | src/canvasselect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/canvasselect.c b/src/canvasselect.c index 4530ccc..cc8bc2a 100644 --- a/src/canvasselect.c +++ b/src/canvasselect.c @@ -92,7 +92,8 @@ static int canvasselect_doselect(t_glist*glist, int index) } if(obj) { - glist_select(glist, obj); + if(!glist_isselected(glist, obj)) + glist_select(glist, obj); } else { return -1; |