FIX: fix save preset problem

Change-Id: I0e6f53b0386e8f04babe2d6c7d18f515c37caae3
This commit is contained in:
zhimin.zeng 2023-06-29 15:15:30 +08:00 committed by Lane.Wei
parent 7910e681e4
commit a98b781425
5 changed files with 102 additions and 25 deletions

View file

@ -857,6 +857,13 @@ void MainFrame::shutdown()
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << "MainFrame::shutdown exit";
}
void MainFrame::update_filament_tab_ui()
{
wxGetApp().get_tab(Preset::Type::TYPE_FILAMENT)->reload_config();
wxGetApp().get_tab(Preset::Type::TYPE_FILAMENT)->update_dirty();
wxGetApp().get_tab(Preset::Type::TYPE_FILAMENT)->update_tab_ui();
}
void MainFrame::update_title()
{
return;