Replaced setEditable with setEnabled