mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fix crash when drop wav file on waveform - thx Apocalypse612 :)
Fix #5499
This commit is contained in:
parent
97e3749697
commit
87b0f213b2
@ -29,6 +29,7 @@
|
|||||||
* Fix error gen waveform when media file delete/renamed - thx Leon
|
* Fix error gen waveform when media file delete/renamed - thx Leon
|
||||||
* Fix textbox width issue in translation mode - thx Leon
|
* Fix textbox width issue in translation mode - thx Leon
|
||||||
* Minor fix for toggle casing for seletion - thx Leon
|
* Minor fix for toggle casing for seletion - thx Leon
|
||||||
|
* Fix crash when drop wav file on waveform - thx Apocalypse612
|
||||||
|
|
||||||
|
|
||||||
3.6.3 (11th November 2021)
|
3.6.3 (11th November 2021)
|
||||||
|
@ -346,7 +346,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
_numberOfAudioTracks = 0;
|
_numberOfAudioTracks = 0;
|
||||||
var audioTrackNames = new List<string>();
|
var audioTrackNames = new List<string>();
|
||||||
var mkvAudioTrackNumbers = new Dictionary<int, int>();
|
var mkvAudioTrackNumbers = new Dictionary<int, int>();
|
||||||
if (SourceVideoFileName.Length > 1 && File.Exists(SourceVideoFileName))
|
if (SourceVideoFileName?.Length > 1 && File.Exists(SourceVideoFileName))
|
||||||
{
|
{
|
||||||
if (SourceVideoFileName.EndsWith(".mkv", StringComparison.OrdinalIgnoreCase))
|
if (SourceVideoFileName.EndsWith(".mkv", StringComparison.OrdinalIgnoreCase))
|
||||||
{ // Choose for number of audio tracks in matroska files
|
{ // Choose for number of audio tracks in matroska files
|
||||||
|
Loading…
Reference in New Issue
Block a user