mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 13:12:39 +01:00
Merge pull request #4381 from OmrSi/improve-merge-dialog
Make "Merge dialog" work when one line is selected
This commit is contained in:
commit
b85ece0767
@ -16403,7 +16403,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
private void MergeDialogs()
|
||||
{
|
||||
if (SubtitleListview1.SelectedItems.Count == 2 && SubtitleListview1.SelectedIndices[0] + 1 == SubtitleListview1.SelectedIndices[1])
|
||||
if (SubtitleListview1.SelectedItems.Count == 1 || SubtitleListview1.SelectedItems.Count == 2 && SubtitleListview1.SelectedIndices[0] + 1 == SubtitleListview1.SelectedIndices[1])
|
||||
{
|
||||
MergeWithLineAfter(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user