summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/cuihyperdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/cuihyperdlg.cxx')
-rw-r--r--cui/source/dialogs/cuihyperdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx
index 2270ab330f0b..41d5a17c4a7d 100644
--- a/cui/source/dialogs/cuihyperdlg.cxx
+++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -138,6 +138,9 @@ SvxHpLinkDlg::SvxHpLinkDlg(SfxBindings* pBindings, SfxChildWindow* pChild, weld:
SetInputSet (mpItemSet.get());
+ // tdf#90496 - remember last used view in hyperlink dialog
+ SetCurPageId(msRememberedPageId);
+
// insert pages
AddTabPage(u"internet"_ustr, SvxHyperlinkInternetTp::Create);
AddTabPage(u"mail"_ustr, SvxHyperlinkMailTp::Create);
@@ -147,9 +150,6 @@ SvxHpLinkDlg::SvxHpLinkDlg(SfxBindings* pBindings, SfxChildWindow* pChild, weld:
AddTabPage(u"newdocument"_ustr, SvxHyperlinkNewDocTp::Create);
}
- // tdf#90496 - remember last used view in hyperlink dialog
- SetCurPageId(msRememberedPageId);
-
// Init Dialog
Start();