diff options
author | Jim Raykowski <raykowj@gmail.com> | 2021-03-11 10:31:46 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2021-03-27 09:01:30 +0100 |
commit | e18b743a840475cfbdfba437a1edf8677a5f93bd (patch) | |
tree | 31de6f2e5c2ca2ba85b526e12fbef688ddea8146 /sw/source/uibase | |
parent | 30b85dd25836520c6e0f7a11887178f81d2cdc30 (diff) |
tdf#140936 statusbar selection mode control improvements
- shows different image for each selection mode
- tooltip indicates the current selection mode and mouse click hint
- replaces left-click cycle selection mode with context menu popup
Change-Id: Ieb2662de99cf42d4ada4c1a590bebc8363861c7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112367
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/uiview/view2.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index 3759e967ff64..8600fa7819dc 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -1989,24 +1989,6 @@ void SwView::ExecuteStatusLine(SfxRequest &rReq) } } } - else - { - - if( !rSh.IsAddMode() && !rSh.IsExtMode() && !rSh.IsBlockMode() ) - rSh.ToggleExtMode(); - else if ( rSh.IsExtMode() ) - { - rSh.ToggleExtMode(); - rSh.ToggleAddMode(); - } - else if ( rSh.IsAddMode() ) - { - rSh.ToggleAddMode(); - rSh.ToggleBlockMode(); - } - else - rSh.ToggleBlockMode(); - } bUp = true; break; } |