Godot Version
4.2
Question
I’m implementing a tree control to edit a complex resource I’ve designed. It’s set up to display data in three columns. I’ve set the TreeItems to be selectable and editable. Unfortunately, this means that as soon as I click on a cell in my tree it immediately enters edit mode.
I don’t want this. I’d prefer the first click just selects the cell if it is not already selected and then if I click again on a selected cell, then it enters edit mode. This is the sort of behavior the Godot editor has when users click on nodes in the Scene or FileSystem panels.
Is there any way to set up my Tree so that it only enters edit mode on a cell if I click on it when it is already selected?