Skip to content

fix(main window): wire Instrument Precision and Tissue Analysis buttons to their own handlers - #1

Merged
mberglof merged 1 commit into
masterfrom
mb-fix_dialogue_buttons_copy_paste_error
Aug 26, 2026
Merged

fix(main window): wire Instrument Precision and Tissue Analysis buttons to their own handlers#1
mberglof merged 1 commit into
masterfrom
mb-fix_dialogue_buttons_copy_paste_error

Conversation

@mberglof

Copy link
Copy Markdown

Summary

Both the "Set Instrument Precision Values" (Button9) and "Tissue Analysis"
(Button21) buttons opened the Tissue Analysis window since v1.99 — a
copy-paste left behind when that feature was added (f9bc066). The Instrument
Precision dialogue (Form7) became unreachable from the UI.
This change resolves the open issue in the (un)main(tained) repo.

Changes

  • hb_main.pas: restore Button9Click to open hb_insprecision.Form7;
    add new Button21Click (declared in TForm1) for the Tissue Analysis window.
  • hb_main.lfm: point Button21's OnClick at Button21Click.

Testing

Built with Fulhack/hydrobuddy-builder (lazbuild 3.2.2); verified both buttons now open their intended dialogues.

…utton9 handler; Instrument Precision was unreachable
@mberglof mberglof added the bug Something isn't working label Aug 26, 2026
@mberglof
mberglof merged commit 03c7d1d into master Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant