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->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);
|
||||
|
|
Loading…
Reference in a new issue