Don't update selection mode indicator when Alt would move objects by kunal649 · Pull Request #4434 · mapeditor/tiled (original) (raw)

when objects are already selected and Alt is pressed before clicking, modifiersChanged was updating the toolbar to "Select Enclosed" even though Alt would be used for moving objects, not changing selection mode. Now that indicator misleading is fixed.
the fix now - skips the toolbar update when !mMousePressed && !selectedObjects().isEmpty(), which is consistent with the existing move-on-alt logic already in mouseMoved.
I've mentioned in : comment

fixes #3719
Thanks : )

alt-conflict.mp4