mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -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)
|
if (_viewMode == 0)
|
||||||
SetViewContentAsRevisionFile();
|
|
||||||
else
|
|
||||||
SetViewContentAsDiff();
|
SetViewContentAsDiff();
|
||||||
|
else
|
||||||
|
SetViewContentAsRevisionFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetViewContentAsRevisionFile()
|
private void SetViewContentAsRevisionFile()
|
||||||
|
|
|
@ -171,13 +171,13 @@
|
||||||
|
|
||||||
<ListBoxItem>
|
<ListBoxItem>
|
||||||
<Border Classes="switcher_bg">
|
<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>
|
</Border>
|
||||||
</ListBoxItem>
|
</ListBoxItem>
|
||||||
|
|
||||||
<ListBoxItem>
|
<ListBoxItem>
|
||||||
<Border Classes="switcher_bg">
|
<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>
|
</Border>
|
||||||
</ListBoxItem>
|
</ListBoxItem>
|
||||||
</ListBox>
|
</ListBox>
|
||||||
|
|
Loading…
Reference in a new issue