mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 11:42:36 +01:00
Fixed crash in AudioVisualizer (in key down event)
This commit is contained in:
parent
f14a65de95
commit
71a4724269
@ -1524,6 +1524,9 @@ namespace Nikse.SubtitleEdit.Controls
|
|||||||
|
|
||||||
private void WaveformKeyDown(object sender, KeyEventArgs e)
|
private void WaveformKeyDown(object sender, KeyEventArgs e)
|
||||||
{
|
{
|
||||||
|
if (_wavePeaks == null)
|
||||||
|
return;
|
||||||
|
|
||||||
if (e.Modifiers == Keys.None && e.KeyCode == Keys.Add)
|
if (e.Modifiers == Keys.None && e.KeyCode == Keys.Add)
|
||||||
{
|
{
|
||||||
ZoomIn();
|
ZoomIn();
|
||||||
|
Loading…
Reference in New Issue
Block a user