From 8bad3d30c1fd9d7f26a6f41e2453b4ae13dcbd42 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sat, 10 Jan 2026 05:11:34 -0500 Subject: [PATCH] Fix history dialog crash for in-progress jobs --- main.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index bedf563..550d529 100644 --- a/main.go +++ b/main.go @@ -1412,11 +1412,15 @@ Config: } // Layout: details at top (scrollable), FFmpeg at bottom (fixed) + bottomItems := []fyne.CanvasObject{} + if ffmpegSection != nil { + bottomItems = append(bottomItems, ffmpegSection) + } + bottomItems = append(bottomItems, container.NewHBox(buttons...)) content := container.NewBorder( detailsScroll, // Top: job details (scrollable, takes priority) container.NewVBox( // Bottom: FFmpeg command (fixed) - ffmpegSection, - container.NewHBox(buttons...), + bottomItems..., ), nil, nil, nil, // No center content - top and bottom fill the space