From 7cd93a30dac59226da8d5b6255c1a9647543c2e4a0b0783745734c8da2ca8b20 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Tue, 12 Mar 2019 07:20:16 +0000 Subject: [PATCH] Accepting request 684188 from home:plater delete patch OBS-URL: https://build.opensuse.org/request/show/684188 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=127 --- 0001-Fix-bug-1992.patch | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 0001-Fix-bug-1992.patch diff --git a/0001-Fix-bug-1992.patch b/0001-Fix-bug-1992.patch deleted file mode 100644 index f9bbbd4..0000000 --- a/0001-Fix-bug-1992.patch +++ /dev/null @@ -1,25 +0,0 @@ -From a17af37c1ef9a4611add492d8ba02d1dfb270210 Mon Sep 17 00:00:00 2001 -From: Steve Daulton -Date: Tue, 2 Oct 2018 22:40:10 +0100 -Subject: [PATCH] Fix bug 1992 - ---- - src/Menus.cpp | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -Index: audacity-Audacity-2.3.0/src/Menus.cpp -=================================================================== ---- audacity-Audacity-2.3.0.orig/src/Menus.cpp 2018-09-20 16:35:07.000000000 +0200 -+++ audacity-Audacity-2.3.0/src/Menus.cpp 2018-10-03 16:36:27.684154542 +0200 -@@ -4572,7 +4572,10 @@ bool AudacityProject::DoEffect(const Plu - 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( [&] {