diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-01-26 17:39:03 +0100 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-01-28 09:49:56 +0100 |
commit | c66667c8c1d68758d31e265acfc3fdf7aff4f8c0 (patch) | |
tree | 8b02767ddeefe96c76182254678d9a99bf4d908d /pkg/gui/main_panels.go | |
parent | e8e7ddea4563d853c7dec7c3a749f846554c1106 (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.go | 2 |
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 |