summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-09-13 20:03:55 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-09-13 20:03:55 +0000
commit3fe0718edddc4c904b7e22ee12651c67eb83610d (patch)
tree0f72f868a2ffe0f05b9f75b9f9af852c27059781 /src
parenttry to fix bug 257289 (diff)
downloadinkscape-3fe0718edddc4c904b7e22ee12651c67eb83610d.tar.gz
inkscape-3fe0718edddc4c904b7e22ee12651c67eb83610d.zip
More sensible behaviour of the treat-selection-as-group option in align & distribute dialog
(bzr r6803)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/align-and-distribute.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp
index 627f10c0c..4d029fe42 100644
--- a/src/ui/dialog/align-and-distribute.cpp
+++ b/src/ui/dialog/align-and-distribute.cpp
@@ -153,9 +153,12 @@ private :
);
//remove the master from the selection
SPItem * thing = *master;
- if (!sel_as_group) {
+ // TODO: either uncomment or remove the following commented lines, depending on which
+ // behaviour of moving objects makes most sense; also cf. discussion at
+ // https://bugs.launchpad.net/inkscape/+bug/255933
+ /*if (!sel_as_group) { */
selected.erase(master);
- }
+ /*}*/
//Compute the anchor point
boost::optional<NR::Rect> b = sp_item_bbox_desktop (thing);
if (b) {