Skip to content

Commit

Permalink
Update DYE next shot dose when changed on DSx2 scale button
Browse files Browse the repository at this point in the history
  • Loading branch information
ebengoechea committed Jan 14, 2024
1 parent 28b1f59 commit 02cc2e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup_DSx2.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ proc ::plugins::DYE::setup_ui_DSx2 {} {
trace add execution ::show_graph leave ::plugins::DYE::DSx2_show_graph_hook
trace add execution ::hide_graph leave ::plugins::DYE::DSx2_hide_graph_hook
trace add execution ::adjust leave ::plugins::DYE::DSx2_adjust_hook
trace add execution ::set_scale_weight_to_dose leave ::plugins::DYE::DSx2_set_scale_weight_to_dose_hook

bind $::home_espresso_graph [platform_button_press] +{::plugins::DYE::DSx2_press_graph_hook}

# Add past & next shot description buttons to the home page
Expand Down Expand Up @@ -761,6 +763,10 @@ proc ::plugins::DYE::DSx2_adjust_hook { args } {
::plugins::DYE::define_next_shot_desc
}

proc ::plugins::DYE::DSx2_set_scale_weight_to_dose_hook { args } {
::plugins::DYE::define_next_shot_desc
}

namespace eval ::dui::pages::dsx2_dye_favs {
variable widgets
array set widgets {}
Expand Down

0 comments on commit 02cc2e3

Please sign in to comment.