summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76b503b)
raw | patch | inline | side by side (parent: 76b503b)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 27 Feb 2008 02:50:24 +0000 (02:50 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 27 Feb 2008 02:50:24 +0000 (02:50 +0000) |
src/select-context.cpp | patch | blob | history |
diff --git a/src/select-context.cpp b/src/select-context.cpp
index 13cb042cd567e7dc3059f321df649364714f458e..76bdb49388362735d4235e9ec9e61f05322434c6 100644 (file)
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
if (MOD__CTRL_ONLY) {
if (selection->singleItem()) {
SPItem *clicked_item = selection->singleItem();
- if ( SP_IS_GROUP(clicked_item) &&
- !SP_IS_BOX3D(clicked_item)) { // enter group if it's not a 3D box
+ if ( SP_IS_GROUP(clicked_item) ||
+ SP_IS_BOX3D(clicked_item)) { // enter group or a 3D box
desktop->setCurrentLayer(reinterpret_cast<SPObject *>(clicked_item));
sp_desktop_selection(desktop)->clear();
} else {