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:
leo 2025-02-28 19:15:02 +08:00
parent 9cf1cba9b7
commit 88c7d5bbc9
No known key found for this signature in database

View file

@ -71,7 +71,7 @@ namespace SourceGit.ViewModels
public async void ProcessPopup()
{
if (_popup != null)
if (_popup is { InProgress: false })
{
if (!_popup.Check())
return;