mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Stop auto duration if move current start/end - thx traycerb :)
Work on #7226
This commit is contained in:
parent
b7af81c1e8
commit
ccc3eab6e6
@ -20069,6 +20069,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
|
|
||||||
private void MoveStartCurrent(int ms, bool keepGapPrevIfClose)
|
private void MoveStartCurrent(int ms, bool keepGapPrevIfClose)
|
||||||
{
|
{
|
||||||
|
StopAutoDuration();
|
||||||
var i = _subtitleListViewIndex;
|
var i = _subtitleListViewIndex;
|
||||||
if (i < 0 || i >= _subtitle.Paragraphs.Count || ms == 0)
|
if (i < 0 || i >= _subtitle.Paragraphs.Count || ms == 0)
|
||||||
{
|
{
|
||||||
@ -20181,6 +20182,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
|
|
||||||
private void MoveEndCurrent(int ms, bool keepGapNextIfClose)
|
private void MoveEndCurrent(int ms, bool keepGapNextIfClose)
|
||||||
{
|
{
|
||||||
|
StopAutoDuration();
|
||||||
var i = _subtitleListViewIndex;
|
var i = _subtitleListViewIndex;
|
||||||
if (i < 0 || i >= _subtitle.Paragraphs.Count || ms == 0)
|
if (i < 0 || i >= _subtitle.Paragraphs.Count || ms == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user