mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02:00
Fix missing initialization from a17af37
This commit is contained in:
parent
cc74b0273f
commit
8880e1b929
@ -4818,7 +4818,7 @@ bool MenuCommandHandler::DoEffect(
|
||||
|
||||
auto nTracksOriginally = project.GetTrackCount();
|
||||
wxWindow *focus = wxWindow::FindFocus();
|
||||
wxWindow *parent;
|
||||
wxWindow *parent = nullptr;
|
||||
if (focus != nullptr) {
|
||||
parent = focus->GetParent();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user