mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-06-30 12:45:11 +08:00
Fix issue that option visibility not updated after resetting (#9150)
Fix https://github.com/SoftFever/OrcaSlicer/issues/8895#issuecomment-2764217763
This commit is contained in:
parent
ee07700aa7
commit
672a829cdb
@ -1100,9 +1100,13 @@ void Tab::on_roll_back_value(const bool to_sys /*= true*/)
|
||||
|
||||
// When all values are rolled, then we have to update whole tab in respect to the reverted values
|
||||
update();
|
||||
if (m_active_page)
|
||||
m_active_page->update_visibility(m_mode, true);
|
||||
|
||||
// BBS: restore all pages in preset, update_dirty also update combobox
|
||||
update_dirty();
|
||||
|
||||
m_page_view->GetParent()->Layout();
|
||||
}
|
||||
|
||||
// Update the combo box label of the selected preset based on its "dirty" state,
|
||||
|
Loading…
x
Reference in New Issue
Block a user