Initialize fader's numeric entry adjustment
Previously the internal adjustment used for numeric entry was left at 0 if the BarController's adjustment was never modified.
This commit is contained in:
parent
fd8808d7b8
commit
63d3d1ff3d
@ -57,6 +57,8 @@ SliderController::SliderController (Gtk::Adjustment *adj, std::shared_ptr<PBD::C
|
||||
_spin_adj.set_page_increment(_ctrl->interface_to_internal(adj->get_page_increment()) - _ctrl->lower ());
|
||||
}
|
||||
|
||||
ctrl_adjusted ();
|
||||
|
||||
adj->signal_value_changed().connect (sigc::mem_fun(*this, &SliderController::ctrl_adjusted));
|
||||
_spin_adj.signal_value_changed().connect (sigc::mem_fun(*this, &SliderController::spin_adjusted));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user