summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2019-07-28 18:01:20 -0800
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-07-29 08:02:24 +0200
commit08328925e3406ad91b953d368483a6a5587c07c2 (patch)
tree39350863848c9ab26e9715b7f99b4a8fbb1b8c57 /sw/source/ui/fmtui
parent67413b23c785343bfdc75f5c7c511701bff19eca (diff)
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@cib.de>
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx4
1 files changed, 3 insertions, 1 deletions
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);
}