From 3bc3d89eadec826ae993b2f05d2d25851fa2c472 Mon Sep 17 00:00:00 2001 From: lashman Date: Fri, 6 Mar 2026 14:59:29 +0200 Subject: [PATCH] Wire help button to show contextual step help dialog --- pixstrip-gtk/src/app.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pixstrip-gtk/src/app.rs b/pixstrip-gtk/src/app.rs index b6e5357..eab53e6 100644 --- a/pixstrip-gtk/src/app.rs +++ b/pixstrip-gtk/src/app.rs @@ -395,6 +395,16 @@ fn build_ui(app: &adw::Application) { }); } + // Wire help button to show contextual help for current step + { + let wizard = ui.state.wizard.clone(); + let window_ref = window.clone(); + help_button.connect_clicked(move |_| { + let step = wizard.borrow().current_step; + show_step_help(&window_ref, step); + }); + } + setup_window_actions(&window, &ui); update_nav_buttons( &ui.state.wizard.borrow(),