From 8527a75830b72b7db83e4328ae7eaf239b7bd4e3 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 26 Jun 2007 02:27:14 +0000 Subject: [PATCH] fix 1721790 --- src/rubberband.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rubberband.cpp b/src/rubberband.cpp index a16212379..24087b10c 100644 --- a/src/rubberband.cpp +++ b/src/rubberband.cpp @@ -70,7 +70,8 @@ void Inkscape::Rubberband::stop() delete_canvas_items(); - sp_canvas_end_forced_full_redraws(_desktop->canvas); + if (_desktop) + sp_canvas_end_forced_full_redraws(_desktop->canvas); } void Inkscape::Rubberband::move(NR::Point const &p) -- 2.30.2