diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2019-07-31 12:48:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-31 15:18:04 +0200 |
commit | 1dd8cde5cd2e692a442b6885c59634fba3737284 (patch) | |
tree | abd6cf5a5b8baae6be9b05b22b69d1d13be553b7 /basctl | |
parent | 496f32ea2ba3600f739cf8e56e5fae65ce4927cb (diff) |
tdf#70813 Sorted list of macros in macro dialog
Change-Id: Ibb488b2252a2eea001f1f00aacc4060e365e0df0
Reviewed-on: https://gerrit.libreoffice.org/76739
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rwxr-xr-x[-rw-r--r--] | basctl/source/basicide/macrodlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 1c0b620d42ff..fde159c8fc4e 100644..100755 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -493,6 +493,7 @@ IMPL_LINK_NOARG(MacroChooser, BasicSelectHdl, weld::TreeView&, void) m_xMacroBox->freeze(); for (auto const& macro : aMacros) m_xMacroBox->append_text(macro.second->GetName()); + m_xMacroBox->make_sorted(); m_xMacroBox->thaw(); if (m_xMacroBox->get_iter_first(*m_xMacroBoxIter)) |