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();
#endif
}
#if QDT_RELEASE_TO_PUBLIC
else {
#if QDT_RELEASE_TO_PUBLIC
std::vector<NetDevice> devices;
wxGetApp().set_devices(devices);
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);
bool useExt = _HasExt(m_ams_mapping_result);
//y75
if (useExt && !m_ams_mapping_result.empty()) {
if (useExt) {
m_checkbox_list["enable_multi_box"]->setValue("off");
} else {
m_checkbox_list["enable_multi_box"]->setValue("on");