summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
authorFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-28 17:14:31 +0000
committerFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-28 19:40:50 +0000
commit1673659da2aa1f33c63b73059ac78ac9a0f263e1 (patch)
treece890bfe460953c28b9b2d8f8ac8a94d25de895a /src/ui/dialog
parentUpdate HACKING.txt. Move to top directory. (diff)
downloadinkscape-1673659da2aa1f33c63b73059ac78ac9a0f263e1.tar.gz
inkscape-1673659da2aa1f33c63b73059ac78ac9a0f263e1.zip
a bit more of warning cleanup
Diffstat (limited to 'src/ui/dialog')
-rw-r--r--src/ui/dialog/align-and-distribute.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp
index 045b4a98e..75c217af9 100644
--- a/src/ui/dialog/align-and-distribute.cpp
+++ b/src/ui/dialog/align-and-distribute.cpp
@@ -169,7 +169,7 @@ void ActionAlign::do_action(SPDesktop *desktop, int index)
Geom::Point mp = Geom::Point(a.mx0 * b->min()[Geom::X] + a.mx1 * b->max()[Geom::X],
a.my0 * b->min()[Geom::Y] + a.my1 * b->max()[Geom::Y]);
- if (sel_as_group)
+ if (sel_as_group) {
if (focus) {
// use bounding box of all selected elements except the "focused" element
Inkscape::ObjectSet copy;
@@ -180,6 +180,7 @@ void ActionAlign::do_action(SPDesktop *desktop, int index)
// use bounding box of all selected elements
b = selection->preferredBounds();
}
+ }
//Move each item in the selected list separately
bool changed = false;