mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-30 08:34:59 +00:00

- use a single filter for both unstage and staged files - show confirm dialog if staged files are displayed partially Signed-off-by: leo <longshuang@msn.cn>
23 lines
489 B
C#
23 lines
489 B
C#
using Avalonia.Interactivity;
|
|
|
|
namespace SourceGit.Views
|
|
{
|
|
public partial class ConfirmCommit : ChromelessWindow
|
|
{
|
|
public ConfirmCommit()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void Sure(object _1, RoutedEventArgs _2)
|
|
{
|
|
(DataContext as ViewModels.ConfirmCommit)?.Continue();
|
|
Close();
|
|
}
|
|
|
|
private void CloseWindow(object _1, RoutedEventArgs _2)
|
|
{
|
|
Close();
|
|
}
|
|
}
|
|
}
|