mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX:fixed incorrect disabled state of filaments material
Change-Id: I168131d90f4b7e987d026808366a08895e1b1524
This commit is contained in:
parent
e1199884d8
commit
81cb240dcc
2 changed files with 19 additions and 4 deletions
|
@ -1735,8 +1735,11 @@ void SelectMachineDialog::prepare_mode()
|
|||
Fit();
|
||||
}
|
||||
|
||||
for (auto it = m_materialList.begin(); it != m_materialList.end(); it++) {
|
||||
it->second->item->enable();
|
||||
if (m_print_page_mode != PrintPageModePrepare) {
|
||||
m_print_page_mode = PrintPageModePrepare;
|
||||
for (auto it = m_materialList.begin(); it != m_materialList.end(); it++) {
|
||||
it->second->item->enable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1752,13 +1755,18 @@ void SelectMachineDialog::sending_mode()
|
|||
Fit();
|
||||
}
|
||||
|
||||
for (auto it = m_materialList.begin(); it != m_materialList.end(); it++) {
|
||||
it->second->item->disable();
|
||||
|
||||
if (m_print_page_mode != PrintPageModeSending) {
|
||||
m_print_page_mode = PrintPageModeSending;
|
||||
for (auto it = m_materialList.begin(); it != m_materialList.end(); it++) {
|
||||
it->second->item->disable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void SelectMachineDialog::finish_mode()
|
||||
{
|
||||
m_print_page_mode = PrintPageModeFinish;
|
||||
m_is_in_sending_mode = false;
|
||||
m_simplebook->SetSelection(2);
|
||||
Layout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue