VideoTools/internal
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
..
app Remove unused import in dvd adapter 2025-12-09 11:41:07 -05:00
benchmark Fix benchmark progress bar percentage calculation 2025-12-13 14:04:20 -05:00
convert Normalize MP4 format label, improve log readability, and prep reduction display 2025-12-08 18:46:34 -05:00
interlace Add interlacing analysis UI to Convert module 2025-12-13 16:43:05 -05:00
logging Refactor to modular architecture with rainbow UI (v0.1.0-dev8) 2025-11-23 14:56:37 -05:00
metadata Add queue error copy, auto naming helper, and metadata templating 2025-12-07 12:03:21 -05:00
modules Complete dev18: Thumbnail enhancements, Player/Filters/Upscale modules, and precise snippet generation 2025-12-15 15:36:24 -05:00
player Improve queue system reliability and add auto-resolution for DVD formats 2025-11-29 20:07:35 -05:00
queue Fix queue stats to properly distinguish cancelled from failed jobs 2025-12-17 14:25:18 -05:00
thumbnail Import json/strconv for thumbnail ffprobe parsing 2025-12-17 19:09:43 -05:00
ui Add history entry delete button and fix Convert module crash 2025-12-18 11:51:26 -05:00
utils Show bitrate in kbps/Mbps and expand presets 2025-12-08 23:53:40 -05:00