From 672a829cdbd5eb430802e698723514be1ef75ef0 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Sun, 13 Apr 2025 17:33:02 +0800 Subject: [PATCH] Fix issue that option visibility not updated after resetting (#9150) Fix https://github.com/SoftFever/OrcaSlicer/issues/8895#issuecomment-2764217763 --- src/slic3r/GUI/Tab.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index b6f71530d2..d58d7122aa 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -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,