summaryrefslogtreecommitdiffstats
path: root/src/object-set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/object-set.h')
-rw-r--r--src/object-set.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/object-set.h b/src/object-set.h
index 7c224f640..02259824c 100644
--- a/src/object-set.h
+++ b/src/object-set.h
@@ -143,8 +143,9 @@ public:
* Add an SPObject to the set of selected objects.
*
* @param obj the SPObject to add
+ * @param nosignal true if no signals should be sent
*/
- bool add(SPObject* object);
+ bool add(SPObject* object, bool nosignal = false);
/**
* Add an XML node's SPObject to the set of selected objects.
@@ -300,9 +301,10 @@ public:
addList(const std::vector<T*> &objs) {
for (auto obj: objs) {
if (!includes(obj)) {
- add(obj);
+ add(obj, true);
}
}
+ _emitSignals();
}
/** Returns the bounding rectangle of the selection. */