summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-08-03 05:49:17 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-08-03 05:49:17 +0000
commitd40f07f6b3d3e20523b16ea1dc709114ce41ef4c (patch)
treef9031571474ed250286419f73234fafc1b39657a /src
parentdisconnect signals from knots when destroying node - fixes a crash with inter... (diff)
downloadinkscape-d40f07f6b3d3e20523b16ea1dc709114ce41ef4c.tar.gz
inkscape-d40f07f6b3d3e20523b16ea1dc709114ce41ef4c.zip
prevent the race between ungrab and selModify to fix the disappearing handles problem with interruptible display
(bzr r1548)
Diffstat (limited to 'src')
-rw-r--r--src/seltrans.cpp5
1 files 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);