ENH: do not update lan mode printer msg
Change-Id: Icbda0e7bae567f5d9b518af8865778eb12d17984
This commit is contained in:
parent
e27a1cdd9b
commit
9f95436b56
1 changed files with 2 additions and 1 deletions
|
@ -1733,8 +1733,9 @@ void GUI_App::init_networking_callbacks()
|
|||
CallAfter([this, dev_id, msg] {
|
||||
if (m_is_closing)
|
||||
return;
|
||||
|
||||
MachineObject* obj = m_device_manager->get_my_machine(dev_id);
|
||||
if (!obj) {
|
||||
if (!obj || !obj->is_lan_mode_printer()) {
|
||||
obj = m_device_manager->get_local_machine(dev_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue