diff -r 0b837bed121d -r 14276e435640 src/editmodes/abstractEditMode.cpp --- a/src/editmodes/abstractEditMode.cpp Thu Feb 09 00:43:30 2017 +0200 +++ b/src/editmodes/abstractEditMode.cpp Thu Feb 09 00:45:44 2017 +0200 @@ -197,7 +197,7 @@ if (countof(model) > 0) { - renderer()->model()->merge(model, position); + currentDocument()->merge(model, position); m_window->refresh(); m_window->endAction(); }