mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix for my last commit
This commit is contained in:
		
							parent
							
								
									27b95584f4
								
							
						
					
					
						commit
						9e19e43818
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1075,8 +1075,8 @@ bool PrusaObjectDataViewModel::IsEnabled(const wxDataViewItem &item, unsigned in
 | 
			
		|||
    wxASSERT(item.IsOk());
 | 
			
		||||
    PrusaObjectDataViewModelNode *node = (PrusaObjectDataViewModelNode*)item.GetID();
 | 
			
		||||
 | 
			
		||||
    // disable extruder selection for the "Settings" item
 | 
			
		||||
    return !(col == 2 && node->m_extruder.IsEmpty());
 | 
			
		||||
    // disable extruder selection for the non "itObject|itVolume" item
 | 
			
		||||
    return !(col == 1 && node->m_extruder.IsEmpty());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
wxDataViewItem PrusaObjectDataViewModel::GetParent(const wxDataViewItem &item) const
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue