mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	FIX:fixed can not change filaments on objecttable
Change-Id: Ic4a301a71af1406f02075edaf9ef24a273c82105
This commit is contained in:
		
							parent
							
								
									697d945ca1
								
							
						
					
					
						commit
						8ccf3cbd7c
					
				
					 1 changed files with 11 additions and 1 deletions
				
			
		|  | @ -171,6 +171,16 @@ void GridCellFilamentsEditor::Create(wxWindow* parent, | |||
|     } | ||||
|     m_control = bitmap_combo; | ||||
|     wxGridCellEditor::Create(parent, id, evtHandler); | ||||
| 
 | ||||
|     /* bitmap_combo->GetDropDown().Bind(wxEVT_COMBOBOX, [this](wxCommandEvent& e) {
 | ||||
|          const wxString value = Combo()->GetValue(); | ||||
|          if (value == m_value) | ||||
|              return false; | ||||
| 
 | ||||
|          m_value = value; | ||||
|          return true; | ||||
|          e.Skip(); | ||||
|      });*/ | ||||
| } | ||||
| 
 | ||||
| void GridCellFilamentsEditor::SetSize(const wxRect& rect) | ||||
|  | @ -242,7 +252,7 @@ void GridCellFilamentsEditor::BeginEdit(int row, int col, wxGrid* grid) | |||
|         // When dropping down the menu, a kill focus event
 | ||||
|         // happens after this point, so we can't reset the flag yet.
 | ||||
| #if !defined(__WXGTK20__) | ||||
|         evtHandler->SetInSetFocus(false); | ||||
|         //evtHandler->SetInSetFocus(false);
 | ||||
| #endif | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tao wang
						tao wang