[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Mar 13 14:47:06 UTC 2019


 sw/source/uibase/docvw/HeaderFooterWin.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b2bb05fc4fddbdcb191f993ba58adab08adbc99b
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sun Mar 10 23:25:33 2019 -0800
Commit:     Heiko Tietze <tietze.heiko at gmail.com>
CommitDate: Wed Mar 13 15:46:37 2019 +0100

    tdf#107593 Show the cursor after header/footer delete
    
    Change-Id: I978f088fa700791d48a5a65392f980822ac14bd2
    Reviewed-on: https://gerrit.libreoffice.org/69032
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <tietze.heiko at gmail.com>
    (cherry picked from commit b1f15dd7e5a3b58a9595f9419c3208973d9244ff)
    Reviewed-on: https://gerrit.libreoffice.org/69162

diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx
index 1cb1dbd77a6a..9e66daab2a24 100644
--- a/sw/source/uibase/docvw/HeaderFooterWin.cxx
+++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx
@@ -434,6 +434,9 @@ void SwHeaderFooterWin::ExecuteCommand(const OString& rIdent)
     else if (rIdent == "delete")
     {
         rSh.ChangeHeaderOrFooter( rStyleName, m_bIsHeader, false, true );
+        if ( IsEmptyHeaderFooter() )
+            rSh.ToggleHeaderFooterEdit();
+        GrabFocusToDocument();
     }
     else if (rIdent == "insert_pagenumber")
     {


More information about the Libreoffice-commits mailing list