diff options
author | Jim Raykowski <raykowj@gmail.com> | 2023-02-09 08:57:56 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2023-02-10 21:28:01 +0000 |
commit | 9788a565b3241d1bd62394b9e29c322361d05f80 (patch) | |
tree | 7e66923448fddbf823fb9aa063be90a8b0b7f83e /sw/source/uibase/docvw/edtwin.cxx | |
parent | 44801e26e098cc1cf7f96e3b233c2b9e5084c9fd (diff) |
tdf#153205 related: Improve selection mode control icon update
This patch makes the status bar selection mode control icon change to
adding selection when the mouse is used to select text while the ctrl
key is pressed and the mouse is moving, which is the behaviour when
the mouse is not moving and selection begins. It also makes the icon
show the correct mode when doing DnD.
Change-Id: I9aeb47301ab3c8b9be2159186bcc8c8ede7bf3de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146726
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/source/uibase/docvw/edtwin.cxx')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 744730d9942e..1729bbfdde8a 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -173,7 +173,7 @@ static bool g_bHoldSelection = false; bool g_bFrameDrag = false; static bool g_bValidCursorPos = false; -static bool g_bModePushed = false; +bool g_bModePushed = false; bool g_bDDTimerStarted = false; bool g_bDDINetAttr = false; static SdrHdlKind g_eSdrMoveHdl = SdrHdlKind::User; |