From 1a99760457f1e5365e55f906859eba2bc9c9112f Mon Sep 17 00:00:00 2001 From: tao wang Date: Tue, 11 Apr 2023 22:15:57 +0800 Subject: [PATCH] FIX:fixed object cannot be selected printable on object table Change-Id: If42027d8f51242d6f719aa371856d438fbcc7233 --- src/slic3r/GUI/GUI_ObjectTable.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/slic3r/GUI/GUI_ObjectTable.cpp b/src/slic3r/GUI/GUI_ObjectTable.cpp index 9c843e74ca..697a4bbd79 100644 --- a/src/slic3r/GUI/GUI_ObjectTable.cpp +++ b/src/slic3r/GUI/GUI_ObjectTable.cpp @@ -2937,11 +2937,11 @@ void ObjectTablePanel::load_data() m_object_grid->SetCellRenderer(row, col, new GridCellIconRenderer()); m_object_grid->SetReadOnly(row, col); } - else if (grid_col->b_for_object && (grid_row->row_type == ObjectGridTable::row_volume)) { - m_object_grid->SetReadOnly(row, col); - m_object_grid->SetCellEditor(row, col, new wxGridCellAutoWrapStringEditor()); - m_object_grid->SetCellRenderer(row, col, new wxGridCellAutoWrapStringRenderer()); - } + //else if (grid_col->b_for_object && (grid_row->row_type == ObjectGridTable::row_volume)) { + // /*m_object_grid->SetReadOnly(row, col); + // m_object_grid->SetCellEditor(row, col, new wxGridCellAutoWrapStringEditor()); + // m_object_grid->SetCellRenderer(row, col, new wxGridCellAutoWrapStringRenderer());*/ + //} else { if (!grid_col->b_editable) m_object_grid->SetReadOnly(row, col);