A DVC cell that has no value is not editable

This commit is contained in:
Jorge Moraleda
2020-04-18 13:39:14 -07:00
parent b90a74f6fe
commit ede053def6

View File

@@ -4155,6 +4155,9 @@ bool wxDataViewMainWindow::IsCellEditableInMode(const wxDataViewItem& item,
if ( !GetModel()->IsEnabled(item, col->GetModelColumn()) )
return false;
if ( !GetModel()->HasValue(item, col->GetModelColumn()) )
return false;
return true;
}