mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
This commit is contained in:
parent
d1f3469250
commit
2105fd450d
6 changed files with 14 additions and 13 deletions
|
@ -59,15 +59,17 @@ namespace SourceGit.ViewModels
|
|||
public void StartPopup(Popup popup)
|
||||
{
|
||||
Popup = popup;
|
||||
ProcessPopup();
|
||||
ProcessPopup(true);
|
||||
}
|
||||
|
||||
public async void ProcessPopup()
|
||||
public async void ProcessPopup(bool autoCheck = false)
|
||||
{
|
||||
if (_popup != null)
|
||||
{
|
||||
if (!_popup.Check())
|
||||
return;
|
||||
if (autoCheck && !_popup.AutoCheck())
|
||||
return;
|
||||
|
||||
_popup.InProgress = true;
|
||||
var task = _popup.Sure();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue