diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-02-14 10:50:46 +0100 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2023-02-14 13:05:08 +0000 |
commit | b0e611260312ad8684ce76139459bffa45b07a67 (patch) | |
tree | 3dba8bb4c3a64b4f5e171e834dd74231653413f2 /svx | |
parent | 0cea676ceb46dcdb9ba739db79dbc6f0d7b3dc29 (diff) |
lok: draw textboxes under edit
This fixes bug in impress:
- open in 2 views
- start editing textbox in 2. view on 2. slide
- start editing textbox in 1. view on 1. slide
Result: slide 2 textbox was dissapearing
We need to allow drawing textboxes edited by other views
so if we select non-editor for rendering we will see the
full content.
It was regression from
commit e496b55a592caf0ca07f5477285a72d50cee6501
lok: masterpage: don't render text edits from different mode
Change-Id: I7645496aec77d11d16621129dd6644d3b54a6010
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146999
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 3f080ecc972c..1aa07b4731e1 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -647,7 +647,7 @@ void SdrPaintView::EndCompleteRedraw(SdrPaintWindow& rPaintWindow, bool bPaintFo static_cast< SdrView* >(this)->TextEditDrawing(rPaintWindow); } - if (comphelper::LibreOfficeKit::isActive() && mbPaintTextEdit && pPageView) + if (comphelper::LibreOfficeKit::isActive() && pPageView) { // Look for active text edits in other views showing the same page, // and show them as well. Show only if Page/MasterPage mode is matching. |