mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-22 12:32:17 -07:00
FIX:m_show_type should init default
jira: github 6146 Change-Id: Ie948a37cfda030a9e10efe0b8d260918b3fb9e4c (cherry picked from commit 28bdf64fef8d7cbef15f27ffcc2c841595ba08c7)
This commit is contained in:
parent
c26266dfb6
commit
a65abbeb58
2 changed files with 6 additions and 3 deletions
|
|
@ -3947,9 +3947,10 @@ void SelectMachineDialog::reset_and_sync_ams_list()
|
|||
{
|
||||
m_mapping_popup.set_show_type(ShowType::RIGHT);
|
||||
}
|
||||
} else {
|
||||
m_mapping_popup.set_show_type(ShowType::RIGHT);
|
||||
}
|
||||
//m_mapping_popup.set_show_type(ShowType::RIGHT);
|
||||
if (obj_ && obj_->is_support_ams_mapping()) {
|
||||
if (obj_) {
|
||||
if (m_mapping_popup.IsShown()) return;
|
||||
wxPoint pos = item->ClientToScreen(wxPoint(0, 0));
|
||||
pos.y += item->GetRect().height;
|
||||
|
|
@ -4452,6 +4453,8 @@ void SelectMachineDialog::set_default_from_sdcard()
|
|||
} else if (m_filaments_map[m_current_filament_id] == 2) {
|
||||
m_mapping_popup.set_show_type(ShowType::RIGHT);
|
||||
}
|
||||
} else {
|
||||
m_mapping_popup.set_show_type(ShowType::RIGHT);
|
||||
}
|
||||
|
||||
if (obj_ && obj_->dev_id == m_printer_last_select)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue