VideoTools/internal/ui
Stu Leak 5b544b8484 Add history entry delete button and fix Convert module crash
Features:
- Add "×" delete button to each history entry in sidebar
- Click to remove individual entries from history
- Automatically saves and refreshes sidebar after deletion

Bug Fixes:
- Fix nil pointer crash when opening Convert module
- Fixed widget initialization order: bitrateContainer now created
  AFTER bitratePresetSelect is initialized
- Prevented "invalid memory address" panic in tabs layout

Technical Details:
- Added deleteHistoryEntry() method to remove entries by ID
- Updated BuildHistorySidebar signature to accept onEntryDelete callback
- Moved bitrateContainer creation from line 5742 to 5794
- All Select widgets now properly initialized before container creation

The crash was caused by bitrateContainer containing a nil
bitratePresetSelect widget, which crashed when Fyne's layout system
called .Visible() during tab initialization.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-18 11:51:26 -05:00
..
benchmarkview.go Fix benchmark progress bar percentage calculation 2025-12-13 14:04:20 -05:00
components.go Phase 4: Create sidebar UI components 2025-12-17 19:34:22 -05:00
mainmenu.go Add history entry delete button and fix Convert module crash 2025-12-18 11:51:26 -05:00
queueview.go Phase 4: Create sidebar UI components 2025-12-17 19:34:22 -05:00