diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2010-11-25 19:26:01 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2010-11-25 19:26:01 +0000 |
| commit | cc8ad875f8712860b86792925b6cfb14b488367c (patch) | |
| tree | dbf64d78876350aaa14873dd440a1dc033e68185 /src/eraser-context.cpp | |
| parent | Dutch tips tutorial added. (diff) | |
| download | inkscape-cc8ad875f8712860b86792925b6cfb14b488367c.tar.gz inkscape-cc8ad875f8712860b86792925b6cfb14b488367c.zip | |
Patch for bug #588181 (Eraser: eraser stroke is drawn after clicking canvas but doesn't erase).
(bzr r9918)
Diffstat (limited to 'src/eraser-context.cpp')
| -rw-r--r-- | src/eraser-context.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/eraser-context.cpp b/src/eraser-context.cpp index 021479843..9b00dcd03 100644 --- a/src/eraser-context.cpp +++ b/src/eraser-context.cpp @@ -576,10 +576,13 @@ sp_eraser_context_root_handler(SPEventContext *event_context, dc->repr = NULL; } - Inkscape::Rubberband::get(desktop)->stop(); dc->_message_context->clear(); ret = TRUE; } + if (Inkscape::Rubberband::get(desktop)->is_started()) { + Inkscape::Rubberband::get(desktop)->stop(); + } + break; } |
