[Libreoffice-commits] core.git: basctl/source
Andreas Heinisch (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 31 13:18:44 UTC 2019
basctl/source/basicide/macrodlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1dd8cde5cd2e692a442b6885c59634fba3737284
Author: Andreas Heinisch <andreas.heinisch at yahoo.de>
AuthorDate: Wed Jul 31 12:48:33 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Jul 31 15:18:04 2019 +0200
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 at collabora.co.uk>
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
old mode 100644
new mode 100755
index 1c0b620d42ff..fde159c8fc4e
--- 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))
More information about the Libreoffice-commits
mailing list