summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/cuihyperdlg.cxx
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2024-11-08 11:52:49 +0100
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2024-11-10 11:08:08 +0100
commitbb42adb99a501a128a459b747b19134a5e804acb (patch)
tree68c0042de97b4e83ddf1a716c6e6c2889ef468c6 /cui/source/dialogs/cuihyperdlg.cxx
parent1180b3473aed3251b5869256abc9c7774bab9ced (diff)
tdf#162753 - Propose clipboard content only for options internet and mail
Change-Id: I11ac10ac4321f15cdd9f5096457f6ea4ab8204b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176269 Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de> Tested-by: Jenkins
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();