There always must be a tool selected on the main toolbar. If you click the tool that is already selected, it changes to the last selected tool. Admittedly this is probably not very useful, since you could have just clicked the tool you wanted. We'll change the behavior so if you click the selected tool, nothing happens.
Note if you right click in the viewport area it toggles between the current tool and the last selected tool. This is quite useful and can often save you a trip to the toolbar to click a tool. This is actually where the toggle behavior comes from when you click the selected tool.
Unrighteous yazdıThis makes selecting sprites a pain, as you have to click around in the hierarchy to reset the tools.
Can you explain this a little more?
Some tools have selection restrictions, eg the pose and shear tools cannot select attachments, only bones, and the weights tool can only select mesh attachments. You may need to choose the rotate, translate, or scale tools to select bones or attachments. Often right click is sufficient for this.
If you make a selection in the tree that is not valid for the current tool, it will change to the last tool, if valid, otherwise you'll get the rotate tool.
If you find the above behavior awkward, it would help to hear what you were trying to achieve, the steps you took, and what your expectations were for those steps.