diff options
Diffstat (limited to 'sc/source/ui/view/drawview.cxx')
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index 462f71f820a3..69f65dd095d7 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -401,8 +401,9 @@ void ScDrawView::MarkListHasChanged() bSubShellSet = true; } else if (pObj->GetObjIdentifier() != SdrObjKind::Text // prevent switching to the drawing shell - || !pViewSh->IsDrawTextShell()) // when creating a text object @#70206# + && !pViewSh->IsDrawTextShell()) // when creating a text object @#70206# { + // tdf#166481: we only need to switch to draw shell if we have not already created a text shell for text edit mode pViewSh->SetDrawShell(true); } } |