ux: rebase popup should always be closed after started (#327)

This commit is contained in:
leo 2024-08-06 16:39:54 +08:00
parent 0450931655
commit f41f8266d2
No known key found for this signature in database

View file

@ -49,9 +49,9 @@ namespace SourceGit.ViewModels
return Task.Run(() => return Task.Run(() =>
{ {
var succ = new Commands.Rebase(_repo.FullPath, _revision, AutoStash).Exec(); new Commands.Rebase(_repo.FullPath, _revision, AutoStash).Exec();
CallUIThread(() => _repo.SetWatcherEnabled(true)); CallUIThread(() => _repo.SetWatcherEnabled(true));
return succ; return true;
}); });
} }