summaryrefslogtreecommitdiffstats
path: root/pkg/gui/main_panels.go
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-01-26 17:39:03 +0100
committerStefan Haller <stefan@haller-berlin.de>2024-01-28 09:49:56 +0100
commitc66667c8c1d68758d31e265acfc3fdf7aff4f8c0 (patch)
tree8b02767ddeefe96c76182254678d9a99bf4d908d /pkg/gui/main_panels.go
parente8e7ddea4563d853c7dec7c3a749f846554c1106 (diff)
Fix main view refresh after adding the first file to a custom patch
This broke with 240948b.
Diffstat (limited to 'pkg/gui/main_panels.go')
-rw-r--r--pkg/gui/main_panels.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/main_panels.go b/pkg/gui/main_panels.go
index 3dee86f1b..bf30331cd 100644
--- a/pkg/gui/main_panels.go
+++ b/pkg/gui/main_panels.go
@@ -38,7 +38,7 @@ func (gui *Gui) moveMainContextToTop(context types.Context) {
view := context.GetView()
- topView := gui.helpers.Window.TopViewInWindow(context.GetWindowName())
+ topView := gui.helpers.Window.TopViewInWindow(context.GetWindowName(), true)
if topView != nil && topView != view {
// We need to copy the content to avoid a flicker effect: If we're flicking