mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-28 16:05:26 -04:00
UI: Don't reselect SceneTree items if tree is clearing
In the scene tree, we currently prevent deselecting items by automatically reselecting a new one to workaround a regression in Qt 6.2 that would let users unselect items even in SingleSelection QItemViews. When clearing however, we explicitly want to unselect the currently selected item, so we should avoid reselecting it in the SceneTree.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f