mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
ux: change default view mode in FileHistories to CHANGES
This commit is contained in:
parent
118dccbeb5
commit
e9eb433471
2 changed files with 4 additions and 4 deletions
|
@ -93,9 +93,9 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
|
||||
if (_viewMode == 0)
|
||||
SetViewContentAsRevisionFile();
|
||||
else
|
||||
SetViewContentAsDiff();
|
||||
else
|
||||
SetViewContentAsRevisionFile();
|
||||
}
|
||||
|
||||
private void SetViewContentAsRevisionFile()
|
||||
|
|
|
@ -171,13 +171,13 @@
|
|||
|
||||
<ListBoxItem>
|
||||
<Border Classes="switcher_bg">
|
||||
<TextBlock Classes="view_mode_switcher" Text="{DynamicResource Text.FileHistory.FileContent}"/>
|
||||
<TextBlock Classes="view_mode_switcher" Text="{DynamicResource Text.FileHistory.FileChange}"/>
|
||||
</Border>
|
||||
</ListBoxItem>
|
||||
|
||||
<ListBoxItem>
|
||||
<Border Classes="switcher_bg">
|
||||
<TextBlock Classes="view_mode_switcher" Text="{DynamicResource Text.FileHistory.FileChange}"/>
|
||||
<TextBlock Classes="view_mode_switcher" Text="{DynamicResource Text.FileHistory.FileContent}"/>
|
||||
</Border>
|
||||
</ListBoxItem>
|
||||
</ListBox>
|
||||
|
|
Loading…
Reference in a new issue