summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-29 12:39:22 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-11-01 12:14:13 +0100
commit149df697ec2f4db0be891becef217312ded3ab88 (patch)
tree357567e866943abab4846e7e805182afb4f2b431 /cui
parent68e3ed223eec7ccfe1a0a1f0cd8e09b88ca9e313 (diff)
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 <michael.stahl@allotropia.de>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/scriptdlg.cxx3
1 files changed, 3 insertions, 0 deletions
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 {