diff options
Diffstat (limited to 'src/ui/tools/pencil-tool.cpp')
| -rw-r--r-- | src/ui/tools/pencil-tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp index eac7c585f..8e1966f4c 100644 --- a/src/ui/tools/pencil-tool.cpp +++ b/src/ui/tools/pencil-tool.cpp @@ -178,7 +178,7 @@ bool PencilTool::_handleButtonPress(GdkEventButton const &bevent) { if ( bevent.button == 1 && !this->space_panning) { Inkscape::Selection *selection = desktop->getSelection(); - if (Inkscape::have_viable_layer(desktop, this->message_context) == false) { + if (Inkscape::have_viable_layer(desktop, defaultMessageContext()) == false) { return true; } |
