diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-02-11 22:37:10 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-02-11 22:37:10 +0000 |
| commit | d2b145ad136cccef4a7f4ea1ff67b74e35e24ac4 (patch) | |
| tree | a3378b5ded6607d2e364d8f328b64162814db928 | |
| parent | readded comment for translators; moved comment to avoid showing in po (diff) | |
| download | inkscape-d2b145ad136cccef4a7f4ea1ff67b74e35e24ac4.tar.gz inkscape-d2b145ad136cccef4a7f4ea1ff67b74e35e24ac4.zip | |
allow grouping a single object
(bzr r2366)
| -rw-r--r-- | src/selection-chemistry.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index feddc9e29..541d04fff 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -437,18 +437,12 @@ void sp_selection_group() // Check if something is selected. if (selection->isEmpty()) { - desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Select <b>two or more objects</b> to group.")); + desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Select <b>some objects</b> to group.")); return; } GSList const *l = (GSList *) selection->reprList(); - // Check if at least two objects are selected. - if (l->next == NULL) { - desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Select <b>at least two objects</b> to group.")); - return; - } - GSList *p = g_slist_copy((GSList *) l); selection->clear(); |
