summaryrefslogtreecommitdiffstats
path: root/src/seltrans.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-08-18 21:57:49 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-08-18 21:57:49 +0000
commit5998f4cf01cf342e9c3e119627d995b4478331ae (patch)
treea93eb865bedab0ea559668c7e3b6dbbd0f6e4439 /src/seltrans.cpp
parentupdate (diff)
downloadinkscape-5998f4cf01cf342e9c3e119627d995b4478331ae.tar.gz
inkscape-5998f4cf01cf342e9c3e119627d995b4478331ae.zip
fix for 415168
(bzr r8507)
Diffstat (limited to 'src/seltrans.cpp')
-rw-r--r--src/seltrans.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp
index 359038527..1087ec7b5 100644
--- a/src/seltrans.cpp
+++ b/src/seltrans.cpp
@@ -525,10 +525,10 @@ void Inkscape::SelTrans::ungrab()
if (_current_relative_affine.isTranslation()) {
sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
_("Move"));
- } else if (_current_relative_affine.isScale()) {
+ } else if (_current_relative_affine.without_translation().isScale()) {
sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
_("Scale"));
- } else if (_current_relative_affine.isRotation()) {
+ } else if (_current_relative_affine.without_translation().isRotation()) {
sp_document_done(sp_desktop_document(_desktop), SP_VERB_CONTEXT_SELECT,
_("Rotate"));
} else {