mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 02:12:25 +08:00
fix: app crashes when Return key is pressed while current action is already running (#1035)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -71,7 +71,7 @@ namespace SourceGit.ViewModels
|
||||
|
||||
public async void ProcessPopup()
|
||||
{
|
||||
if (_popup != null)
|
||||
if (_popup is { InProgress: false })
|
||||
{
|
||||
if (!_popup.Check())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user