sw/source/ui/fmtui/tmpdlg.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 08328925e3406ad91b953d368483a6a5587c07c2
Author:     Jim Raykowski <rayk...@gmail.com>
AuthorDate: Sun Jul 28 18:01:20 2019 -0800
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
CommitDate: Mon Jul 29 08:02:24 2019 +0200

    tdf#111703 Select the Organizer tab page when new style
    
    Change-Id: Ib031bd1139ea9a8bf084a1ead17bc17f30565401
    Reviewed-on: https://gerrit.libreoffice.org/76508
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index 4f879a580f62..276e6dc2848c 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -223,7 +223,9 @@ 
SwTemplateDlgController::SwTemplateDlgController(weld::Window* pParent,
             OSL_ENSURE(false, "wrong family");
     }
 
-    if (!sPage.isEmpty())
+    if (bNew)
+        SetCurPageId("organizer");
+    else if (!sPage.isEmpty())
         SetCurPageId(sPage);
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to