mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
optimize<Dashboard>: remove refresh button (use F5 instead)
This commit is contained in:
parent
975777c2f9
commit
83e8eb1ec8
2 changed files with 0 additions and 12 deletions
|
@ -115,13 +115,6 @@
|
|||
ToolTip="{DynamicResource Text.Dashboard.Statistics}"
|
||||
Click="OpenStatistics"/>
|
||||
|
||||
<controls:IconButton
|
||||
Margin="8,0"
|
||||
Padding="0,9,0,8"
|
||||
Icon="{DynamicResource Icon.Loading}"
|
||||
ToolTip="{DynamicResource Text.Dashboard.Refresh}"
|
||||
Click="TriggerRefresh"/>
|
||||
|
||||
<controls:IconButton
|
||||
Margin="8,0"
|
||||
Padding="0,8"
|
||||
|
|
|
@ -421,11 +421,6 @@ namespace SourceGit.Views.Widgets {
|
|||
});
|
||||
}
|
||||
|
||||
private void TriggerRefresh(object sender, RoutedEventArgs e) {
|
||||
Refresh();
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void OpenFetch(object sender, RoutedEventArgs e) {
|
||||
if (repo.Remotes.Count == 0) {
|
||||
Models.Exception.Raise("No remotes added to this repository!!!");
|
||||
|
|
Loading…
Reference in a new issue