summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 26e59e610..000888772 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -463,15 +463,13 @@ SPDocument *SPDocument::createDoc(Inkscape::XML::Document *rdoc,
// reset undo key when selection changes, so that same-key actions on different objects are not coalesced
document->priv->selChangeConnection = INKSCAPE->signal_selection_changed.connect(
- sigc::hide( // hide unused first and second args
sigc::hide(sigc::bind(
sigc::ptr_fun(&DocumentUndo::resetKey), document)
- )));
+ ));
document->priv->desktopActivatedConnection = INKSCAPE->signal_activate_desktop.connect(
- sigc::hide( // hide unused first and second args
sigc::hide(sigc::bind(
sigc::ptr_fun(&DocumentUndo::resetKey), document)
- )));
+ ));
document->oldSignalsConnected = true;
return document;