diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-01 15:31:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-01 22:17:16 +0200 |
commit | 68bab1db3b0eaedd315ce7cea32a614f47607b9b (patch) | |
tree | 9f6e0c3ab17e44526d3c98dace15576e1fc252b6 /basctl/source/basicide/macrodlg.cxx | |
parent | 58212048ef59e60b15b6261afbb40af048d1a95a (diff) |
Resolves: tdf#126661 unexpected sort between freeze+thaw
Change-Id: Ibb6b404d32e38c72fb1ff4be73f3a5f116d55692
Reviewed-on: https://gerrit.libreoffice.org/76809
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl/source/basicide/macrodlg.cxx')
-rw-r--r-- | basctl/source/basicide/macrodlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index fde159c8fc4e..ac93f0bbb01c 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -493,8 +493,8 @@ 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(); + m_xMacroBox->make_sorted(); if (m_xMacroBox->get_iter_first(*m_xMacroBoxIter)) m_xMacroBox->set_cursor(*m_xMacroBoxIter); |