From e6c90334f96f9553288c8b1bea2e654238e8816a Mon Sep 17 00:00:00 2001 From: Gaspar Capello Date: Wed, 10 Aug 2022 10:49:36 -0300 Subject: [PATCH] Fix scrollbar for the Extensions list in Preferences is missing on the first open (fix #3456) --- src/app/commands/cmd_options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/commands/cmd_options.cpp b/src/app/commands/cmd_options.cpp index 0403c524f..b47784f10 100644 --- a/src/app/commands/cmd_options.cpp +++ b/src/app/commands/cmd_options.cpp @@ -907,7 +907,6 @@ private: if (!item) return; - panel()->showChild(findChild(item->getValue().c_str())); m_curSection = sectionListbox()->getSelectedIndex(); // General section @@ -925,6 +924,8 @@ private: // Load extension else if (item->getValue() == kSectionExtensionsId) loadExtensions(); + + panel()->showChild(findChild(item->getValue().c_str())); } void onClearRecentFiles() {