Repository navigation
Fix crash when clicking "Repeat last effect" on a closed project - #12573
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI (base), Organization UI (inherited)
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a5e547ba-48b9-4c0f-917b-c1a5156c9117
📒 Files selected for processing: 3
src/effects/effects_base/internal/effectexecutionscenario.cppsrc/effects/effects_base/internal/effectscommandsstate.cppsrc/effects/effects_base/internal/effectsuiactions.cpp
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
| @@ -82,7 +82,7 @@ bool EffectsCommandsState::isSpectralEffect(const EffectId& effectId) const | |||
| CommandState EffectsCommandsState::commandState(const Command& command) const | |||
| { | |||
There was a problem hiding this comment.
Can't we move this check to the top of the function?
if (globalContext()->currentProject() == nullptr) {
return CommandState(false);
}
There was a problem hiding this comment.
Oh, no, we can't. If we do that, it would also disable Plugin Manager
2cbfecd to
2243abd
Compare
Resolves: #12493
Recommended: