mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX:fixed object cannot be selected printable on object table
Change-Id: If42027d8f51242d6f719aa371856d438fbcc7233
This commit is contained in:
parent
d57931eacd
commit
1a99760457
1 changed files with 5 additions and 5 deletions
|
@ -2937,11 +2937,11 @@ void ObjectTablePanel::load_data()
|
||||||
m_object_grid->SetCellRenderer(row, col, new GridCellIconRenderer());
|
m_object_grid->SetCellRenderer(row, col, new GridCellIconRenderer());
|
||||||
m_object_grid->SetReadOnly(row, col);
|
m_object_grid->SetReadOnly(row, col);
|
||||||
}
|
}
|
||||||
else if (grid_col->b_for_object && (grid_row->row_type == ObjectGridTable::row_volume)) {
|
//else if (grid_col->b_for_object && (grid_row->row_type == ObjectGridTable::row_volume)) {
|
||||||
m_object_grid->SetReadOnly(row, col);
|
// /*m_object_grid->SetReadOnly(row, col);
|
||||||
m_object_grid->SetCellEditor(row, col, new wxGridCellAutoWrapStringEditor());
|
// m_object_grid->SetCellEditor(row, col, new wxGridCellAutoWrapStringEditor());
|
||||||
m_object_grid->SetCellRenderer(row, col, new wxGridCellAutoWrapStringRenderer());
|
// m_object_grid->SetCellRenderer(row, col, new wxGridCellAutoWrapStringRenderer());*/
|
||||||
}
|
//}
|
||||||
else {
|
else {
|
||||||
if (!grid_col->b_editable)
|
if (!grid_col->b_editable)
|
||||||
m_object_grid->SetReadOnly(row, col);
|
m_object_grid->SetReadOnly(row, col);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue