| commit | a2f6b4e8995c149620db4fcfe7e355af4fbc869e | [log] |
|---|---|---|
| author | Jim Raykowski <raykowj@gmail.com> | Wed Mar 03 14:37:36 2021 -0900 |
| committer | Jim Raykowski <raykowj@gmail.com> | Tue Mar 09 02:26:15 2021 +0100 |
| tree | 1ec05c547ec628b1f54d851ae2b5273af09faacf | |
| parent | 740fca22fc92065436dee9beae89852fc388db54 [diff] |
tdf#88064 In add mode don't change SetCursor and KillSel functions when shell is popped Change-Id: Ic7b38563c4f05d4a1ccf792f21db42076a39947f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111943 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 32b91a1..be70c7b 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -1716,8 +1716,11 @@ bool bRet = SwCursorShell::Pop(eDelete); if( bRet && IsSelection() ) { m_fnSetCursor = &SwWrtShell::SetCursorKillSel; m_fnKillSel = &SwWrtShell::ResetSelect; if (!IsAddMode()) { m_fnSetCursor = &SwWrtShell::SetCursorKillSel; m_fnKillSel = &SwWrtShell::ResetSelect; } } return bRet; }