From: cilix42 Date: Mon, 8 Sep 2008 14:31:49 +0000 (+0000) Subject: Unselet item in geometry tool when the user clicked into empty space X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b57b8a10dacd917afbfdc62fa9870f9a14271337;p=inkscape.git Unselet item in geometry tool when the user clicked into empty space --- diff --git a/src/lpe-tool-context.cpp b/src/lpe-tool-context.cpp index ec4cd0689..b001214cf 100644 --- a/src/lpe-tool-context.cpp +++ b/src/lpe-tool-context.cpp @@ -263,7 +263,9 @@ sp_lpetool_context_root_handler(SPEventContext *event_context, GdkEvent *event) case GDK_BUTTON_PRESS: if (event->button.button == 1 && !event_context->space_panning) { if (lc->mode == Inkscape::LivePathEffect::INVALID_LPE) { - // don't do anything for now if we are inactive + // don't do anything for now if we are inactive (except clearing the selection + // since this was a click into empty space) + selection->clear(); desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Choose a construction tool from the toolbar.")); ret = true; break;