Fix reset tabs scope in convert view

This commit is contained in:
Stu Leak 2025-12-20 15:33:08 -05:00
parent cdf8b10769
commit 19269a204d
3 changed files with 4 additions and 1 deletions

View File

@ -820,6 +820,7 @@ This file tracks completed features, fixes, and milestones.
- ✅ Added unit selector for manual video bitrate entry
- ✅ Reset now restores full default convert settings even with no config file
- ✅ Reset now forces resolution and frame rate back to Source
- ✅ Fixed reset handler scope for convert tabs
- ✅ Stabilized video seeking and embedded rendering
- ✅ Improved player window positioning
- ✅ Fixed clear video functionality

View File

@ -53,6 +53,7 @@ This file tracks upcoming features, improvements, and known issues.
- Manual video bitrate uses a unit selector (KB/MB/GB)
- Reset restores full default convert settings
- Reset forces resolution/frame rate back to Source
- Reset handler scope fixed for convert tabs
## Priority Features for dev20+

View File

@ -5283,6 +5283,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
bitrateContainer *fyne.Container
targetSizeContainer *fyne.Container
resetConvertDefaults func()
tabs *container.AppTabs
)
var (
updateEncodingControls func()
@ -6910,7 +6911,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
updateQualityVisibility()
}
tabs := container.NewAppTabs(
tabs = container.NewAppTabs(
container.NewTabItem("Simple", simpleScrollBox),
container.NewTabItem("Advanced", advancedScrollBox),
)