diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-10-27 11:18:45 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-10-27 11:18:45 +0000 |
| commit | 56a883c1187f496107c3249259f37d437a76ce20 (patch) | |
| tree | a3f86b6490a34d5832857bb32e5c41415f9660d6 /src/desktop.cpp | |
| parent | Added some consts. (diff) | |
| download | inkscape-56a883c1187f496107c3249259f37d437a76ce20.tar.gz inkscape-56a883c1187f496107c3249259f37d437a76ce20.zip | |
Fix gradient stop selection when switching to dropper tool.
Fixed bugs:
- https://launchpad.net/bugs/1239131
(bzr r12730)
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); |
