diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-07-15 22:44:14 +0530 |
---|---|---|
committer | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-07-15 18:03:06 +0000 |
commit | 7e70b938618a49c4130502421d6909a2a3871579 (patch) | |
tree | 248d3eeb3d422755b53edf1456ea22f7f9d778b5 | |
parent | 5a18ed5e4d8cf0192e62e56eb6481353d74c4a84 (diff) |
tdf#83054 Preselect current page number in the text entry
Change-Id: Ie65cde1f2967042afb2988cc429613fda3f0e93f
Reviewed-on: https://gerrit.libreoffice.org/27242
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
-rw-r--r-- | sw/source/uibase/utlui/gotodlg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/gotodlg.cxx b/sw/source/uibase/utlui/gotodlg.cxx index 107d62a27daa..df76db6a2362 100644 --- a/sw/source/uibase/utlui/gotodlg.cxx +++ b/sw/source/uibase/utlui/gotodlg.cxx @@ -46,6 +46,8 @@ SwGotoPageDlg::SwGotoPageDlg( vcl::Window* pParent, SfxBindings* _pBindings): } mpMtrPageCtrl->SetModifyHdl(LINK(this, SwGotoPageDlg, PageModifiedHdl)); mpMtrPageCtrl->SetCursorAtLast(); + Selection aSel(0, EDIT_NOLIMIT); + mpMtrPageCtrl->SetSelection(aSel); } SwGotoPageDlg::~SwGotoPageDlg() |