From 29c23c029c0950ce0d44f4d0442566f8e952aa32 Mon Sep 17 00:00:00 2001 From: tidy-dev Date: Tue, 23 Feb 2021 08:40:41 -0500 Subject: [PATCH] Load Status after abort to ensure working directory refreshed --- app/src/ui/dispatcher/dispatcher.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/ui/dispatcher/dispatcher.ts b/app/src/ui/dispatcher/dispatcher.ts index 3746ac17f6..8dade7bb89 100644 --- a/app/src/ui/dispatcher/dispatcher.ts +++ b/app/src/ui/dispatcher/dispatcher.ts @@ -2642,6 +2642,7 @@ export class Dispatcher { /** Aborts an ongoing cherry pick and switches back to the source branch. */ public async abortCherryPick(repository: Repository, sourceBranch: Branch) { await this.appStore._abortCherryPick(repository, sourceBranch) + await this.appStore._loadStatus(repository) this.appStore._endCherryPickFlow(repository) }