mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue