o.k. and there's the patch. Klaumi
----------- Klaus-Michael Klingsporn mail: [email protected] web: www.klaumikli.de
--- audacity.orig/src/Menus.cpp
+++ audacity/src/Menus.cpp
@@ -4572,8 +4572,11 @@
TrackListIterator iter(GetTracks());
Track *t = iter.First();
wxWindow *focus = wxWindow::FindFocus();
- auto parent = focus->GetParent();
+ wxWindow *parent;
+ if (focus != nullptr) {
+ parent = focus->GetParent();
+ }
bool success = false;
auto cleanup = finally( [&] {

