Fix for #10800 - Crash on Rename Filament setting

(A "Rename" button was visible for system preset)

* Follow up 23ffd344 - Added missed visibility update for action buttons.
This commit is contained in:
YuSanka 2023-06-14 09:46:40 +02:00
parent d16bed76a8
commit e28a913e89

View File

@ -467,6 +467,9 @@ void Tab::OnActivate()
else {
// on first OnActivate call show top sizer
m_top_hsizer->ShowItems(true);
// update visibility of action buttons
update_btns_enabling();
// update visibility of active extruder
if (TabFilament* tab = dynamic_cast<TabFilament*>(this))
tab->update_extruder_combobox();
Layout();