diff options
Diffstat (limited to 'fix-wavebar.patch')
-rw-r--r-- | fix-wavebar.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/fix-wavebar.patch b/fix-wavebar.patch new file mode 100644 index 000000000000..aea8093579f6 --- /dev/null +++ b/fix-wavebar.patch @@ -0,0 +1,18 @@ +Add fix from commit r58 "fixed subtle bug related to opening file in +untouched widget": +https://sourceforge.net/p/wavesurfer/code/58/#diff-2 + +--- src/wsurf/wavebar__orig.tcl 2018-09-08 18:34:58.049674304 +0200 ++++ src/wsurf/wavebar.tcl 2018-09-08 18:27:15.450901639 +0200 +@@ -747,6 +747,11 @@ + + proc wavebar::_update {w {width -1} {height -1}} { + upvar [namespace current]::${w}::data d ++ ++ if {![winfo exists $w]} { ++ return ++ } ++ + if {$width>0} {set d(c0width) $width} + if {$height>0} {set d(c0height) $height} + if {$d(c0width)<=0} return |