Minor fix for drag-n-drop with mpc - thx Janusz :)

This commit is contained in:
niksedk 2021-10-23 07:51:10 +02:00
parent f52dde06d9
commit 961e7e9e68
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@
* Icon for plugin "ASSA Draw" - thx Leon
* New sub format - thx Leon
* Add read support for "combined ttml" files - thx Martin
* Save SMPTE video time code mode for recent files - thx OmrSi
* Save SMPTE video time mode for recent files - thx OmrSi
* Optionally prompt some TTML files regarding SMPTE time mode - thx uckthis
* New shortcuts for merge - the Leon
* New shortcut for calc duration by CPS - thx OmrSi

View File

@ -14432,6 +14432,7 @@ namespace Nikse.SubtitleEdit.Forms
private void SubtitleListview1_DragDrop(object sender, DragEventArgs e)
{
mediaPlayer.Pause();
_dragAndDropFiles = (string[])e.Data.GetData(DataFormats.FileDrop);
if (_dragAndDropFiles.Length == 1)
{
@ -23967,6 +23968,7 @@ namespace Nikse.SubtitleEdit.Forms
private void mediaPlayer_DragDrop(object sender, DragEventArgs e)
{
mediaPlayer.Pause();
var files = (string[])e.Data.GetData(DataFormats.FileDrop);
if (files.Length == 1)
{