fix stashing tab empty (closes #1986)

This commit is contained in:
extrawurst 2023-12-22 17:12:50 +01:00 committed by extrawurst
parent 55d316fad9
commit 99c705eaa7
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
* do not allow tag when `tag.gpgsign` enabled [[@TeFiLeDo](https://github.com/TeFiLeDo)] ([#1915](https://github.com/extrawurst/gitui/pull/1915))
### Fixes
* stash window empty after file history popup closes ([#1986](https://github.com/extrawurst/gitui/issues/1986))
## [0.24.3] - 2023-09-09
### Fixes

View file

@ -99,6 +99,7 @@ impl Stashing {
) -> Result<()> {
if self.is_visible() && ev == AsyncGitNotification::Status {
let status = self.git_status.last()?;
self.index.show()?;
self.index.update(&status.items)?;
}