Skip to content

Commit 88c7d5b

Browse files
committed
fix: app crashes when Return key is pressed while current action is already running (#1035)
Signed-off-by: leo <[email protected]>
1 parent 9cf1cba commit 88c7d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ViewModels/LauncherPage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void StartPopup(Popup popup)
7171

7272
public async void ProcessPopup()
7373
{
74-
if (_popup != null)
74+
if (_popup is { InProgress: false })
7575
{
7676
if (!_popup.Check())
7777
return;

0 commit comments

Comments
 (0)