Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit 224d5e4

Browse files
committed
UI: Disable history option for automation
1 parent 0fc8516 commit 224d5e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

OnnxStack.UI/UserControls/SchedulerControl.xaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,11 @@
389389

390390
<StackPanel>
391391
<Label>Automation Type</Label>
392-
<ComboBox ItemsSource="{Binding Source={StaticResource BatchOptionType}}" SelectedItem="{Binding BatchOptions.BatchType}"/>
392+
<UniformGrid Columns="2">
393+
<ComboBox ItemsSource="{Binding Source={StaticResource BatchOptionType}}" SelectedItem="{Binding BatchOptions.BatchType}"/>
394+
<CheckBox Content="Disable History" IsChecked="{Binding BatchOptions.DisableHistory}" IsEnabled="{Binding BatchOptions.IsAutomationEnabled}" HorizontalAlignment="Right" />
395+
</UniformGrid>
396+
393397
</StackPanel>
394398

395399

0 commit comments

Comments
 (0)