From 149df697ec2f4db0be891becef217312ded3ab88 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 29 Oct 2021 12:39:22 +0100 Subject: Related: tdf#145377 call select handler if restoring previously selected script Change-Id: Ibab3e920e6830c86bb6bfba070f14ca8a153c25f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124200 Tested-by: Jenkins Reviewed-by: Michael Stahl --- cui/source/dialogs/scriptdlg.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index b000b4b34ecf..b840911a3797 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -1082,7 +1082,10 @@ void SvxScriptOrgDialog::RestorePreviousSelection() } if (xEntry) + { m_xScriptsBox->set_cursor(*xEntry); + ScriptSelectHdl(*m_xScriptsBox); + } } namespace { -- cgit