Skip to content

Commit 7ff30da

Browse files
committed
bug fixes
- cancel is not default button - reset hours per day after add an entry
1 parent 6287cd2 commit 7ff30da

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

TimeTracker/ConfigureNonWorkingDaysWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@
9595
<Button x:Name="buttonEdit" Grid.Row="0" Content="{x:Static props:Resources.BUTTON_EDIT}" Height="23" Width="80" HorizontalAlignment="Left" VerticalAlignment="Top" Click="ButtonEdit_Click"/>
9696
<Button x:Name="buttonRemove" Grid.Row="1" Content="{x:Static props:Resources.BUTTON_REMOVE}" Height="23" Width="80" HorizontalAlignment="Left" VerticalAlignment="Top" Click="ButtonRemove_Click"/>
9797
</Grid>
98-
<Button Grid.Row="3" Grid.Column="8" IsCancel="True" IsDefault="True" Content="{x:Static props:Resources.CMD_CLOSE}" Height="23" Width="80" Margin="5,0,5,0" Click="ButtonCancel_Click" HorizontalAlignment="Right"/>
98+
<Button Grid.Row="3" Grid.Column="8" IsCancel="True" Content="{x:Static props:Resources.CMD_CLOSE}" Height="23" Width="80" Margin="5,0,5,0" Click="ButtonCancel_Click" HorizontalAlignment="Right"/>
9999
</Grid>
100100
</Window>

TimeTracker/ConfigureNonWorkingDaysWindow.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ private void ButtonAdd_Click(object sender, RoutedEventArgs e)
114114
nonWorkingDays.Add(nwd);
115115
SelectNonWorkingDays(nwd);
116116
textBoxName.Text = "";
117+
textBoxHours.Text = "8";
117118
datePickerFrom.SelectedDate = null;
118119
datePickerTo.SelectedDate = null;
119120
datePickerFrom.Focus();

TimeTracker/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
[assembly: AssemblyCulture("")]
1313
[assembly: ComVisible(false)]
1414
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
15-
[assembly: AssemblyVersion("1.0.3.0")]
16-
[assembly: AssemblyFileVersion("1.0.3.0")]
15+
[assembly: AssemblyVersion("1.0.3.1")]
16+
[assembly: AssemblyFileVersion("1.0.3.1")]
1717
[assembly: AssemblyInformationalVersion("1.0.3")]
1818
[assembly: NeutralResourcesLanguage("")]
1919
[assembly: Guid("FFF3375C-215C-4E03-B5DB-C95A47F46F48")]

0 commit comments

Comments
 (0)