FIX:fixed object cannot be selected printable on object table
Change-Id: If42027d8f51242d6f719aa371856d438fbcc7233
This commit is contained in:
parent
d57931eacd
commit
1a99760457
|
@ -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…
Reference in New Issue