diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-11-03 23:42:23 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-11-03 23:42:23 +0000 |
| commit | 48ac54f0234671b23afeaad33af6168037ef552c (patch) | |
| tree | 3a937530c745c958f8da1e788a8dfe94cff847d4 /src/desktop.cpp | |
| parent | Update to trunk (diff) | |
| parent | Remove antiquated Perl extensions and modules, which were mostly useless. (diff) | |
| download | inkscape-48ac54f0234671b23afeaad33af6168037ef552c.tar.gz inkscape-48ac54f0234671b23afeaad33af6168037ef552c.zip | |
Update to trunk
(bzr r12588.1.25)
Diffstat (limited to 'src/desktop.cpp')
| -rw-r--r-- | src/desktop.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp index f5c35514c..ec446e0f0 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -681,7 +681,6 @@ void SPDesktop::set_event_context2(const std::string& toolName) { SPEventContext* ec_new = ToolFactory::instance().createObject(toolName); ec_new->desktop = this; ec_new->message_context = new Inkscape::MessageContext(this->messageStack()); - ec_new->setup(); event_context = ec_new; @@ -690,6 +689,8 @@ void SPDesktop::set_event_context2(const std::string& toolName) { delete ec_old; } + ec_new->setup(); + sp_event_context_activate(event_context); _event_context_changed_signal.emit(this, event_context); |
