forked from pool/audacity
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
This commit is contained in:
parent
f154f698e7
commit
7cd93a30da
@ -1,25 +0,0 @@
|
||||
From a17af37c1ef9a4611add492d8ba02d1dfb270210 Mon Sep 17 00:00:00 2001
|
||||
From: Steve Daulton <stevedaulton@gmail.com>
|
||||
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( [&] {
|
Loading…
Reference in New Issue
Block a user