summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-01-27 13:58:12 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-01-27 13:58:12 +0000
commitd9eb50c7d1b99a16cefc68eb73c5f660a7cfd353 (patch)
tree6b69c119a1f6e3aa4fcb4b0cdab783e126a40745 /src
parentat least gray out the remove button if we can't remove it when no grids (diff)
downloadinkscape-d9eb50c7d1b99a16cefc68eb73c5f660a7cfd353.tar.gz
inkscape-d9eb50c7d1b99a16cefc68eb73c5f660a7cfd353.zip
Don't group dot creation with pen-/pencil-specific operations in undo history
(bzr r4603)
Diffstat (limited to 'src')
-rw-r--r--src/sp-path.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index 26396c8f0..e401d0a20 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -568,10 +568,8 @@ void freehand_create_single_dot(SPEventContext *ec, NR::Point const &pt, char co
sp_desktop_selection(desktop)->set(item);
- unsigned int tool_code = !strcmp(tool, "tools.freehand.pencil") ? SP_VERB_CONTEXT_PENCIL : SP_VERB_CONTEXT_PEN;
-
desktop->messageStack()->flash(Inkscape::NORMAL_MESSAGE, _("Creating single dot"));
- sp_document_done(sp_desktop_document(desktop), tool_code, _("Create single dot"));
+ sp_document_done(sp_desktop_document(desktop), SP_VERB_NONE, _("Create single dot"));
}
/*