mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
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:
parent
8fe08e2961
commit
85583df133
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user