summaryrefslogtreecommitdiffstats
path: root/src/ui/interface.cpp
diff options
context:
space:
mode:
authorsuv-lp <>2016-03-20 08:32:53 +0000
committerJazzyNico <nicoduf@yahoo.fr>2016-03-20 08:32:53 +0000
commitbb5e99e378d45f0d8cb3db9842a248acc4dadd43 (patch)
treeef1f9192458d58752be0d1ff49dff569eb9d7833 /src/ui/interface.cpp
parent[Bug #1518302] Extension new_glyph_layer (Typography) not using decoding prop... (diff)
downloadinkscape-bb5e99e378d45f0d8cb3db9842a248acc4dadd43.tar.gz
inkscape-bb5e99e378d45f0d8cb3db9842a248acc4dadd43.zip
[Bug #1545332] Canvas context menu: allow grouping a single selection (same as menu, toolbar command).
Fixed bugs: - https://launchpad.net/bugs/1545332 (bzr r14723)
Diffstat (limited to 'src/ui/interface.cpp')
-rw-r--r--src/ui/interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp
index 69b229519..531aa728d 100644
--- a/src/ui/interface.cpp
+++ b/src/ui/interface.cpp
@@ -1786,7 +1786,7 @@ void ContextMenu::MakeItemMenu (void)
/* Group */
mi = Gtk::manage(new Gtk::MenuItem(_("_Group"), 1));
mi->signal_activate().connect(sigc::mem_fun(*this, &ContextMenu::ActivateGroup));
- if (_desktop->selection->isEmpty() || _desktop->selection->single()) {
+ if (_desktop->selection->isEmpty()) {
mi->set_sensitive(FALSE);
} else {
mi->set_sensitive(TRUE);