Version: 2018.2
public bool acceptedRename ;

Description

Is true if the rename is accepted.

The rename is set as accepted when the user ends rename with Return/Enter or the rename loses focus. The rename is rejected if the user presses Esc while editing.