mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Fix subtitle drag-n-drop bug (drag#2 would be imported twice, drag#3 thrice etc.) - thx Andrew :)
This commit is contained in:
parent
55754a3421
commit
baf242d84a
@ -10125,8 +10125,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_dragAndDropFiles = (string[])e.Data.GetData(DataFormats.FileDrop);
|
||||
if (_dragAndDropFiles.Length == 1)
|
||||
{
|
||||
_dragAndDropTimer.Interval = 50;
|
||||
_dragAndDropTimer.Tick += DoSubtitleListview1Drop;
|
||||
_dragAndDropTimer.Start();
|
||||
}
|
||||
else
|
||||
@ -14706,6 +14704,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_timerCheckForUpdates.Start();
|
||||
Configuration.Settings.General.LastCheckForUpdates = DateTime.Now;
|
||||
}
|
||||
_dragAndDropTimer.Interval = 50;
|
||||
_dragAndDropTimer.Tick += DoSubtitleListview1Drop;
|
||||
}
|
||||
|
||||
private void TimerCheckForUpdatesTick(object sender, EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user