From 24cc33655c7d54741c8b8d80244a285471558f0f Mon Sep 17 00:00:00 2001 From: Rafael Lima Date: Fri, 25 Nov 2022 20:57:45 +0100 Subject: 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 --- basctl/source/basicide/macrodlg.cxx | 3 +++ 1 file changed, 3 insertions(+) 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()) { -- cgit