mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-22 12:32:17 -07:00
FIX: do not popup if not checked
jira: [STUDIO-11301] Change-Id: Ibc71cef173ea5a09a43a7d23a8afb81b50c0af07 (cherry picked from commit 7f3647f4bfad081215ba32b1681008fcc21aa0c7)
This commit is contained in:
parent
554c192be1
commit
79a3d917e5
1 changed files with 2 additions and 2 deletions
|
|
@ -3979,7 +3979,7 @@ void SelectMachineDialog::reset_and_sync_ams_list()
|
|||
item->Bind(wxEVT_LEFT_UP, [this, item, materials, extruder](wxMouseEvent &e) {});
|
||||
item->Bind(wxEVT_LEFT_DOWN, [this, item, materials, extruder](wxMouseEvent &e) {
|
||||
if (!item->m_enable) {return;}
|
||||
if (m_print_status == PrintDialogStatus::PrintStatusUnsupportedPrinter) { return; } /*STUDIO-11301*/
|
||||
if (!m_check_flag || m_print_status == PrintDialogStatus::PrintStatusUnsupportedPrinter) { return; } /*STUDIO-11301*/
|
||||
|
||||
MaterialHash::iterator iter = m_materialList.begin();
|
||||
while (iter != m_materialList.end()) {
|
||||
|
|
@ -4489,7 +4489,7 @@ void SelectMachineDialog::set_default_from_sdcard()
|
|||
item->Bind(wxEVT_LEFT_UP, [this, item, materials](wxMouseEvent& e) {});
|
||||
item->Bind(wxEVT_LEFT_DOWN, [this, obj_, item, materials, diameters_count, fo](wxMouseEvent& e) {
|
||||
if (!item->m_enable) {return;}
|
||||
if (m_print_status == PrintDialogStatus::PrintStatusUnsupportedPrinter) { return;} /*STUDIO-11301*/
|
||||
if (!m_check_flag || m_print_status == PrintDialogStatus::PrintStatusUnsupportedPrinter) { return; } /*STUDIO-11301*/
|
||||
|
||||
MaterialHash::iterator iter = m_materialList.begin();
|
||||
while (iter != m_materialList.end()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue