[Libreoffice-commits] core.git: sw/source

Akshay Deep akshaydeepiitr at gmail.com
Fri Jul 15 18:03:29 UTC 2016


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

New commits:
commit 7e70b938618a49c4130502421d6909a2a3871579
Author: Akshay Deep <akshaydeepiitr at gmail.com>
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 <ci at libreoffice.org>
    Reviewed-by: Akshay Deep <akshaydeepiitr at gmail.com>

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()


More information about the Libreoffice-commits mailing list