1
0
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:
Steve Daulton 2018-10-03 21:08:27 +01:00
parent cc74b0273f
commit 8880e1b929

View File

@ -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();
}