Reputation: 177
Is there a way to force edit-mode in a qtreeview the moment a new item is created? Currently, I can enter edit mode with a double click by setting the EditTriggers to QAbstractItemView.DoubleClicked. Trying a different approach, I was able to select the newly created item right after creation using setCurrentIndex, but that's pretty much it. Is there a way to do this?
Upvotes: 1
Views: 1450