mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Fixed assert "IsVisible(item)" failed in wxTreeCtrl::GetNextVisible()
This commit is contained in:
		
							parent
							
								
									0b0e65636f
								
							
						
					
					
						commit
						ce86fad28a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -476,6 +476,8 @@ void Tab::get_sys_and_mod_flags(const std::string& opt_key, bool& sys_page, bool | |||
| void Tab::update_changed_tree_ui() | ||||
| { | ||||
| 	auto cur_item = m_treectrl->GetFirstVisibleItem(); | ||||
|     if (!m_treectrl->IsVisible(cur_item)) | ||||
|         return; | ||||
| 	auto selection = m_treectrl->GetItemText(m_treectrl->GetSelection()); | ||||
| 	while (cur_item){ | ||||
| 		auto title = m_treectrl->GetItemText(cur_item); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka