mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 13:45:00 +00: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:
parent
9cf1cba9b7
commit
88c7d5bbc9
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ namespace SourceGit.ViewModels
|
||||||
|
|
||||||
public async void ProcessPopup()
|
public async void ProcessPopup()
|
||||||
{
|
{
|
||||||
if (_popup != null)
|
if (_popup is { InProgress: false })
|
||||||
{
|
{
|
||||||
if (!_popup.Check())
|
if (!_popup.Check())
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue