mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Fix "Join" with append issues - thx Henrique :)
Do not auto-sort when adding files in append mode
This commit is contained in:
parent
a76e20f721
commit
94d12b0c54
@ -176,6 +176,9 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
}
|
}
|
||||||
JoinedFormat = lastFormat;
|
JoinedFormat = lastFormat;
|
||||||
|
|
||||||
|
|
||||||
|
if (!radioButtonJoinAddTime.Checked)
|
||||||
|
{
|
||||||
for (int outer = 0; outer < subtitles.Count; outer++)
|
for (int outer = 0; outer < subtitles.Count; outer++)
|
||||||
{
|
{
|
||||||
for (int inner = 1; inner < subtitles.Count; inner++)
|
for (int inner = 1; inner < subtitles.Count; inner++)
|
||||||
@ -194,6 +197,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
listViewParts.BeginUpdate();
|
listViewParts.BeginUpdate();
|
||||||
listViewParts.Items.Clear();
|
listViewParts.Items.Clear();
|
||||||
@ -338,6 +342,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
numericUpDownAddMs.Enabled = radioButtonJoinAddTime.Checked;
|
numericUpDownAddMs.Enabled = radioButtonJoinAddTime.Checked;
|
||||||
labelAddTime.Enabled = radioButtonJoinAddTime.Checked;
|
labelAddTime.Enabled = radioButtonJoinAddTime.Checked;
|
||||||
|
SortAndLoad();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user