summaryrefslogtreecommitdiffstats
path: root/win/C#/frmPreview.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmPreview.cs')
-rw-r--r--win/C#/frmPreview.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/C#/frmPreview.cs b/win/C#/frmPreview.cs
index 24a191463..cd09df6e7 100644
--- a/win/C#/frmPreview.cs
+++ b/win/C#/frmPreview.cs
@@ -35,6 +35,10 @@ namespace Handbrake
this.mainWindow = mw;
cb_preview.SelectedIndex = 0;
cb_duration.SelectedIndex = 1;
+
+ cb_preview.Items.Clear();
+ for (int i = 1; i <= Properties.Settings.Default.previewScanCount; i++)
+ cb_preview.Items.Add(i.ToString());
}
#region Encode Sample