Skip to content

Commit

Permalink
Disable the checkbox while a tally is running.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinematics committed Mar 17, 2015
1 parent aea6110 commit 55cc0bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NetTally/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
IsEnabled="{Binding IsChecked, ElementName=partitionedVotes}"/>
</StackPanel>
<CheckBox x:Name="useSpoilerForVoters" Content="Use Spoiler for Voters" HorizontalAlignment="Left" Margin="318,80,0,0" VerticalAlignment="Top"
IsChecked="{Binding Path=UseSpoilerForVoters}"/>
IsChecked="{Binding Path=UseSpoilerForVoters}"
IsEnabled="{Binding ElementName=tallyButton, Path=IsEnabled, Converter={StaticResource BoolConverter}, ConverterParameter=Normal, Mode=OneWay}"/>
<Button x:Name="clearTallyCacheButton" Height="47" Margin="0,10,173,0" VerticalAlignment="Top" Click="clearTallyCacheButton_Click" HorizontalAlignment="Right" Width="49"
IsEnabled="{Binding ElementName=tallyButton, Path=IsEnabled, Converter={StaticResource BoolConverter}, ConverterParameter=Normal, Mode=OneWay}">
<TextBlock TextWrapping="Wrap" TextAlignment="Center">Clear Cache</TextBlock>
Expand Down

0 comments on commit 55cc0bf

Please sign in to comment.