mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02:00
Fix bug 1992
This commit is contained in:
parent
526179b63e
commit
a17af37c1e
@ -4818,7 +4818,10 @@ bool MenuCommandHandler::DoEffect(
|
||||
|
||||
auto nTracksOriginally = project.GetTrackCount();
|
||||
wxWindow *focus = wxWindow::FindFocus();
|
||||
auto parent = focus->GetParent();
|
||||
wxWindow *parent;
|
||||
if (focus != nullptr) {
|
||||
parent = focus->GetParent();
|
||||
}
|
||||
|
||||
bool success = false;
|
||||
auto cleanup = finally( [&] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user