Add "None" support for scene items to Transition action

This commit is contained in:
WarmUpTill
2026-06-25 21:25:48 +02:00
parent 0f1273ab4c
commit 4c977a2e2f
2 changed files with 10 additions and 3 deletions

View File

@@ -133,8 +133,13 @@ void TransitionSelectionWidget::EnableAnyEntry(bool enable)
void TransitionSelectionWidget::EnableNoneEntry(bool enable)
{
if (_addNone == enable) {
return;
}
const auto selection = GetCurrentSelection();
_addNone = enable;
Populate();
SetTransition(selection);
}
void TransitionSelectionWidget::showEvent(QShowEvent *event)