fix some bug

This commit is contained in:
wjyLearn
2026-01-23 19:33:52 +08:00
parent 6fbf2cf4b4
commit f4ceb61f09
2 changed files with 2 additions and 2 deletions

View File

@@ -489,8 +489,8 @@ void PrinterWebView::SetLoginStatus(bool status) {
}).detach(); }).detach();
#endif #endif
} }
#if QDT_RELEASE_TO_PUBLIC
else { else {
#if QDT_RELEASE_TO_PUBLIC
std::vector<NetDevice> devices; std::vector<NetDevice> devices;
wxGetApp().set_devices(devices); wxGetApp().set_devices(devices);
if (!wxGetApp().is_link_connect()) if (!wxGetApp().is_link_connect())

View File

@@ -2748,7 +2748,7 @@ void SelectMachineDialog::load_option_vals(MachineObject *obj)
m_checkbox_list["enable_multi_box"]->update_tooltip(wxEmptyString); m_checkbox_list["enable_multi_box"]->update_tooltip(wxEmptyString);
bool useExt = _HasExt(m_ams_mapping_result); bool useExt = _HasExt(m_ams_mapping_result);
//y75 //y75
if (useExt && !m_ams_mapping_result.empty()) { if (useExt) {
m_checkbox_list["enable_multi_box"]->setValue("off"); m_checkbox_list["enable_multi_box"]->setValue("off");
} else { } else {
m_checkbox_list["enable_multi_box"]->setValue("on"); m_checkbox_list["enable_multi_box"]->setValue("on");