mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-20 08:15:46 -05:00
Add "None" support for scene items to Transition action
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user