Kaydet (Commit) ccc00b03 authored tarafından Jim Raykowski's avatar Jim Raykowski

tdf#116460 Update the page number in the statusbar

This patch provides page number update in the status bar while the up/
down arrow/page keys are held pressed.

Change-Id: I61ac40c781a869eb940f1b863047113fcfa851cf
Reviewed-on: https://gerrit.libreoffice.org/72713
Tested-by: Jenkins
Reviewed-by: 's avatarJim Raykowski <raykowj@gmail.com>
üst 7272b9f7
......@@ -2649,6 +2649,11 @@ KEYINPUT_CHECKTABLE_INSDEL:
// update the page number in the statusbar
sal_uInt16 nKey = rKEvt.GetKeyCode().GetCode();
if( KEY_UP == nKey || KEY_DOWN == nKey || KEY_PAGEUP == nKey || KEY_PAGEDOWN == nKey )
GetView().GetViewFrame()->GetBindings().Update( FN_STAT_PAGE );
// in case the buffered characters are inserted
if( bFlushBuffer && !m_aInBuffer.isEmpty() )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment