ups, uncommented try-catch again...

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1650 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2013-02-20 13:40:22 +00:00
parent 8fe08e2961
commit 85583df133

View File

@ -440,7 +440,7 @@ namespace Nikse.SubtitleEdit.Forms
string fileName = item.Text;
string friendlyName = item.SubItems[1].Text;
// try
try
{
SubtitleFormat format = null;
Encoding encoding;
@ -645,12 +645,12 @@ namespace Nikse.SubtitleEdit.Forms
}
}
//catch
//{
// if (progressBar1.Value < progressBar1.Maximum)
// progressBar1.Value++;
// labelStatus.Text = progressBar1.Value + " / " + progressBar1.Maximum;
//}
catch
{
if (progressBar1.Value < progressBar1.Maximum)
progressBar1.Value++;
labelStatus.Text = progressBar1.Value + " / " + progressBar1.Maximum;
}
index++;
}
while (worker1.IsBusy || worker2.IsBusy || worker3.IsBusy)