[Libreoffice-commits] core.git: sw/source
Jim Raykowski (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 29 06:03:03 UTC 2019
sw/source/ui/fmtui/tmpdlg.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 08328925e3406ad91b953d368483a6a5587c07c2
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sun Jul 28 18:01:20 2019 -0800
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at 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.Mehrbrodt at 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);
}
More information about the Libreoffice-commits
mailing list