mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 12:17:54 -06:00
remove print_flow_ratio from profiles and hide it from process setting. It should be only displayed for parts
This commit is contained in:
parent
e8ac1575e7
commit
565732a027
6 changed files with 9 additions and 5 deletions
|
@ -591,6 +591,15 @@ void ParamsPanel::set_active_tab(wxPanel* tab)
|
|||
wxString title = cur_tab->type() == Preset::TYPE_FILAMENT ? _L("Filament settings") : _L("Printer settings");
|
||||
dialog->SetTitle(title);
|
||||
}
|
||||
|
||||
auto tab_print = dynamic_cast<Tab *>(m_tab_print);
|
||||
if (cur_tab == m_tab_print) {
|
||||
if (tab_print)
|
||||
tab_print->toggle_line("print_flow_ratio", false);
|
||||
} else {
|
||||
if (tab_print)
|
||||
tab_print->toggle_line("print_flow_ratio", false);
|
||||
}
|
||||
}
|
||||
|
||||
bool ParamsPanel::is_active_and_shown_tab(wxPanel* tab)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue