]> cloud.milkyroute.net Git - dolphin.git/commit
KItemListView: Don't allow starting role editing when animation is running
authorAkseli Lahtinen <akselmo@akselmo.dev>
Thu, 24 Jul 2025 09:56:50 +0000 (12:56 +0300)
committerMéven Car <meven@kde.org>
Thu, 24 Jul 2025 09:56:50 +0000 (09:56 +0000)
commit94e08f04f4524fc4993b921a1ae1dd8cc6f8725c
tree93da9d0d962d1ad466800764dcda021b32355569
parent8fd0c421cf472b19e7da4eca9616945ec4adae5f
KItemListView: Don't allow starting role editing when animation is running

If user presses delete and then F2 in very quick succession, the
inline rename field will get stuck in place, due to the animation
moving the actual item in different place.

To avoid any confusion, disallow starting role editing while any
animations are running.

BUG: 497125
src/kitemviews/kitemlistview.cpp