From 2ad91a136a32c9ea721e582fa507f675e82d9f19 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 27 Jan 2017 20:16:15 +0100 Subject: [PATCH] fixed bug with double warning when editing CE draw areas when using level template --- src/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor.c b/src/editor.c index 25b7af27..b5aa6fb3 100644 --- a/src/editor.c +++ b/src/editor.c @@ -11073,7 +11073,7 @@ static void HandleDrawingAreas(struct GadgetInfo *gi) SetElementButton(lx, ly, new_element, button); } } - else + else if (!button_release_event) { int type_id = gi->custom_type_id; int pos = sx * drawingarea_info[type_id].area_ysize + sy; -- 2.34.1