mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 16:25:57 +08:00
ENH: disable buttons when no printer selected
Change-Id: I238f2861d41a06d661d04cf205ccdb7b4bbe113a
This commit is contained in:
parent
4385fc9d94
commit
06459ac808
@ -2619,8 +2619,9 @@ void StatusPanel::show_status(int status)
|
||||
last_status = status;
|
||||
|
||||
if (((status & (int) MonitorStatus::MONITOR_DISCONNECTED) != 0)
|
||||
|| ((status & (int) MonitorStatus::MONITOR_DISCONNECTED_SERVER) != 0)
|
||||
|| ((status & (int)MonitorStatus::MONITOR_CONNECTING) != 0)
|
||||
|| ((status & (int) MonitorStatus::MONITOR_DISCONNECTED_SERVER) != 0)
|
||||
|| ((status & (int)MonitorStatus::MONITOR_CONNECTING) != 0)
|
||||
|| ((status & (int)MonitorStatus::MONITOR_NO_PRINTER) != 0)
|
||||
) {
|
||||
m_text_tasklist_caption->SetForegroundColour(DISCONNECT_TEXT_COL);
|
||||
show_printing_status(false, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user