From 659cf0be953ca25bab6b82626b2a0e9832e48691 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Thu, 3 Aug 2006 05:49:17 +0000 Subject: [PATCH] prevent the race between ungrab and selModify to fix the disappearing handles problem with interruptible display --- src/seltrans.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/seltrans.cpp b/src/seltrans.cpp index 9a648e2ef..675cb672e 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -321,6 +321,8 @@ void Inkscape::SelTrans::transform(NR::Matrix const &rel_affine, NR::Point const void Inkscape::SelTrans::ungrab() { g_return_if_fail(_grabbed); + _grabbed = false; + _show_handles = true; Inkscape::Selection *selection = sp_desktop_selection(_desktop); bool updh = true; @@ -365,9 +367,6 @@ void Inkscape::SelTrans::ungrab() _items.clear(); _items_centers.clear(); - _grabbed = false; - _show_handles = true; - sp_canvas_item_hide(_norm); sp_canvas_item_hide(_grip); -- 2.30.2