diff --git a/src/core/canvasmouseevents.cpp b/src/core/canvasmouseevents.cpp index 258df71f2..052f520c1 100644 --- a/src/core/canvasmouseevents.cpp +++ b/src/core/canvasmouseevents.cpp @@ -208,7 +208,7 @@ void Canvas::mouseDoubleClickEvent(const eMouseEvent &e) { mCurrentMode == CanvasMode::pointTransform) && enve_cast(mHoveredBox)) { e.fReleaseMouse(); - static_cast(mHoveredBox.data())->openTextEditor(e.fWidget); + emit openTextEditor(); } else if(mCurrentMode == CanvasMode::boxTransform && enve_cast(mHoveredBox)) { Document::sInstance->setCanvasMode(CanvasMode::pointTransform);