mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH:use user settings when not using PEI bed
fixed https://github.com/bambulab/BambuStudio/issues/2014 1. Disable flow calibration when using PEI bed 2. Use user settings when PEI bed is not in use Change-Id: Ie4f81f0d4649c69255f97355af14cacedf8b2bbf
This commit is contained in:
parent
386607a6a7
commit
53890cf106
1 changed files with 9 additions and 1 deletions
|
@ -3389,7 +3389,15 @@ void SelectMachineDialog::set_flow_calibration_state(bool state)
|
|||
select_flow->SetToolTip(tool_tip);
|
||||
}
|
||||
else {
|
||||
m_checkbox_list["flow_cali"]->SetValue(state);
|
||||
|
||||
AppConfig* config = wxGetApp().app_config;
|
||||
if (config && config->get("print", "flow_cali") == "0") {
|
||||
m_checkbox_list["flow_cali"]->SetValue(false);
|
||||
}
|
||||
else {
|
||||
m_checkbox_list["flow_cali"]->SetValue(true);
|
||||
}
|
||||
|
||||
m_checkbox_list["flow_cali"]->Enable();
|
||||
//m_checkbox_state_list["flow_cali"] = state;
|
||||
for (auto win : select_flow->GetWindowChildren()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue