diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2022-11-25 20:57:45 +0100 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2022-11-28 20:54:12 +0100 |
commit | 24cc33655c7d54741c8b8d80244a285471558f0f (patch) | |
tree | edb87a8d9b0042ad50b06262a5c5422105092669 | |
parent | c7b1fbff3673284d829606e5e07f9deb4258a5f5 (diff) |
Make entry visible after scroll_to_row in Macro Organizer dialog
Change-Id: I46b0f14a909e6c1813acfd9190459b5c87246682
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143263
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
-rw-r--r-- | basctl/source/basicide/macrodlg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 2cc12fb053d9..1c8fe9aec84d 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -142,6 +142,9 @@ void MacroChooser::StoreMacroDescription() void MacroChooser::RestoreMacroDescription() { + // The following call is a workaround to ensure the last used macro is scrolled to in kf5 + m_xDialog->resize_to_request(); + EntryDescriptor aDesc; if (Shell* pShell = GetShell()) { |