Fix scrollbar for the Extensions list in Preferences is missing on the first open (fix #3456)

master
Gaspar Capello 2022-08-10 10:49:36 -03:00 committed by David Capello
parent 3a917492ee
commit e6c90334f9
1 changed files with 2 additions and 1 deletions

View File

@ -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() {