diff options
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 55fdadcd68ac..7b9784b42c1a 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -1645,6 +1645,8 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) case SID_TEXTATTR_DLG: { + if (mpDrawView->IsTextEdit()) + mpDrawView->SdrEndTextEdit(); SetCurrentFunction( FuTextAttrDlg::Create( this, GetActiveWindow(), mpDrawView, GetDoc(), rReq ) ); Cancel(); rReq.Ignore (); |