mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-20 21:01:06 +08:00
optimize<Dashboard>: remove refresh button (use F5 instead)
This commit is contained in:
@@ -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!!!");
|
||||
|
||||
Reference in New Issue
Block a user