diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-10-06 22:36:54 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-10-06 22:36:54 +0000 |
| commit | afc759a08ad5875467ff657aedcb605e7d555e29 (patch) | |
| tree | e2c82d68a4da616e09ee59b6cdf5f1ea94d2114f /src/tools-switch.cpp | |
| parent | Fix bspline and strip multi node bspline power editing whith node tool becaus... (diff) | |
| parent | initialisation (diff) | |
| download | inkscape-afc759a08ad5875467ff657aedcb605e7d555e29.tar.gz inkscape-afc759a08ad5875467ff657aedcb605e7d555e29.zip | |
update to trunk
(bzr r11950.1.169)
Diffstat (limited to 'src/tools-switch.cpp')
| -rw-r--r-- | src/tools-switch.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools-switch.cpp b/src/tools-switch.cpp index a3c0f2daa..1c07f07cc 100644 --- a/src/tools-switch.cpp +++ b/src/tools-switch.cpp @@ -143,7 +143,9 @@ tools_active(SPDesktop *dt) void tools_switch(SPDesktop *dt, int num) { + dt->tipsMessageContext()->set(Inkscape::NORMAL_MESSAGE, gettext( tool_msg[num] ) ); if (dt) { + // This event may change the above message dt->_tool_changed.emit(num); } @@ -152,7 +154,6 @@ tools_switch(SPDesktop *dt, int num) /* First 4 tools use guides, first is undefined but we don't care */ dt->activate_guides(num < 5); inkscape_eventcontext_set(dt->getEventContext()); - dt->tipsMessageContext()->set(Inkscape::NORMAL_MESSAGE, gettext( tool_msg[num] ) ); } void tools_switch_by_item(SPDesktop *dt, SPItem *item, Geom::Point const p) |
