diff options
author | extrawurst <mail@rusticorn.com> | 2023-12-22 17:12:50 +0100 |
---|---|---|
committer | extrawurst <776816+extrawurst@users.noreply.github.com> | 2023-12-22 17:22:55 +0100 |
commit | 99c705eaa77e9ccf04386fd312c474cf798772b0 (patch) | |
tree | ce0b24f4c0b1784847c378aed8525866fee06d5b | |
parent | 55d316fad98d164284b1097bad8a18776b0feb72 (diff) |
fix stashing tab empty (closes #1986)
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | src/tabs/stashing.rs | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index af52455f..55e6d109 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/tabs/stashing.rs b/src/tabs/stashing.rs index 93734ae3..6df47495 100644 --- a/src/tabs/stashing.rs +++ b/src/tabs/stashing.rs @@ -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)?; } |