Skip to content

Commit

Permalink
Fix version label in help dialog (#3278)
Browse files Browse the repository at this point in the history
Also fixed all lower case text on update notes button
  • Loading branch information
Zawodowiec1532 authored and azeier committed Jun 5, 2017
1 parent 6f54f56 commit 694070b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Hearthstone Deck Tracker/FlyoutControls/Help.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
<DockPanel>
<Border BorderBrush="{DynamicResource AccentColorBrush}" BorderThickness="1" Margin="-1"
DockPanel.Dock="Bottom">
<DockPanel VerticalAlignment="Bottom">
<Button Name="ButtonUpdateNotes" Content="{lex:Loc Help_Button_Updatenotes}" Click="ButtonUpdateNotes_OnClick"
DockPanel.Dock="Right" Margin="2" Width="200"
Style="{DynamicResource AccentedSquareButtonStyle}" />
<TextBlock Name="TxtblockVersion" Text="{lex:Loc Help_Label_Version}" VerticalAlignment="Center" Margin="10,0,5,0" />
<TextBlock VerticalAlignment="Center" Text="{Binding VersionString, RelativeSource={RelativeSource AncestorType=hearthstoneDeckTracker:Help}}" />
<DockPanel VerticalAlignment="Bottom">
<Button Name="ButtonUpdateNotes" Style="{DynamicResource AccentedSquareButtonStyle}" Click="ButtonUpdateNotes_OnClick" DockPanel.Dock="Right" Margin="2" Width="200">
<TextBlock Text="{lex:Loc Help_Button_Updatenotes}"/>
</Button>
<TextBlock Text="{lex:Loc Help_Label_Version}" VerticalAlignment="Center" Margin="10,0,5,0" />
<TextBlock VerticalAlignment="Center" Text="{Binding VersionString, RelativeSource={RelativeSource AncestorType=hearthstoneDeckTracker:Help}}"/>
</DockPanel>
</Border>
<ScrollViewer>
Expand Down
1 change: 0 additions & 1 deletion Hearthstone Deck Tracker/Windows/MainWindow.Load.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ internal void LoadConfigSettings()
}

Options.Load(Core.Game);
Help.TxtblockVersion.Text = "v" + Helper.GetCurrentVersion().ToVersionString();

Core.TrayIcon.SetContextMenuProperty("autoSelectDeck", "Checked", Config.Instance.AutoDeckDetection);

Expand Down

0 comments on commit 694070b

Please sign in to comment.