Skip to content

Commit

Permalink
4.7.1 pause button issue
Browse files Browse the repository at this point in the history
not return to "pause" when encoding complete or stop
  • Loading branch information
Anime4000 committed Oct 6, 2014
1 parent abc4a16 commit 284c979
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
21 changes: 5 additions & 16 deletions ifme/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1818,10 +1818,8 @@ private void EncodingStarted(bool x)
btnResume.Enabled = x;

// Hybrid button
if (x)
btnStart.Text = Language.IControl.btnStop;
else
btnStart.Text = Language.IControl.btnStart;
btnResume.Text = Language.IControl.btnPause;
btnStart.Text = x ? Language.IControl.btnStop : Language.IControl.btnStart;

// Button, if quete not empty, dont disable
if (lstQueue.Items.Count == 0)
Expand All @@ -1831,29 +1829,20 @@ private void EncodingStarted(bool x)
chkAttachEnable.Enabled = chkSubEnable.Checked;

foreach (Control ctl in tabQueue.Controls)
{
ctl.Enabled = !x;
}

foreach (Control ctl in tabVideo.Controls)
{
ctl.Enabled = !x;
}

foreach (Control ctl in tabAudio.Controls)
{
ctl.Enabled = !x;
}


foreach (Control ctl in tabSubtitle.Controls)
{
ctl.Enabled = !x;
}


foreach (Control ctl in tabAttachment.Controls)
{
ctl.Enabled = !x;
}

}
#endregion

Expand Down
5 changes: 5 additions & 0 deletions installer/text_changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 4.7.1.0
---------------
[fixed] Format detection in "Audio passthrough" and support more format
[fixed] Pause/Resume button on stop

Version 4.7.0.0
---------------
Version 4.6 have auto update issue, please download manually.
Expand Down

0 comments on commit 284c979

Please sign in to comment.