sw/source/uibase/utlui/gotodlg.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 7e70b938618a49c4130502421d6909a2a3871579
Author: Akshay Deep <[email protected]>
Date:   Fri Jul 15 22:44:14 2016 +0530

    tdf#83054 Preselect current page number in the text entry
    
    Change-Id: Ie65cde1f2967042afb2988cc429613fda3f0e93f
    Reviewed-on: https://gerrit.libreoffice.org/27242
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Akshay Deep <[email protected]>

diff --git a/sw/source/uibase/utlui/gotodlg.cxx 
b/sw/source/uibase/utlui/gotodlg.cxx
index 107d62a..df76db6 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()
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to