public commitEdit() as Boolean
Submits the current inline value to the table model.
The editor closes even when the model rejects the update; the original model value remains visible and cellEditFinished carries the diagnostic.
if not table.commitEdit():
print(table.model.lastError)