mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	ENH: disable buttons when no printer selected
Change-Id: I238f2861d41a06d661d04cf205ccdb7b4bbe113a
This commit is contained in:
		
							parent
							
								
									4385fc9d94
								
							
						
					
					
						commit
						06459ac808
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue