diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-09-16 21:15:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-09-16 21:15:56 +0100 |
| commit | 138dbf31b4f4d711113f91d597c4f312b756d59b (patch) | |
| tree | dbc6dd4961a5928bce39ee036db3d3c6893da8ca | |
| parent | 3e6e9697ed971c8565adefb621c7440e99d0139b (diff) | |
Fix thinko causing checked_set (wxSpinCtrlDouble) not to work.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | src/wx/wx_util.cc | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2014-09-16 Carl Hetherington <cth@carlh.net> + + * Fix non-update of audio gain when changing selected content. + 2014-09-14 Carl Hetherington <cth@carlh.net> * Version 1.73.5 released. diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 23a85534a..1e501f54f 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -193,7 +193,7 @@ void checked_set (wxSpinCtrlDouble* widget, double value) { /* XXX: completely arbitrary epsilon */ - if (fabs (widget->GetValue() - value) < 1e-16) { + if (fabs (widget->GetValue() - value) > 1e-16) { widget->SetValue (value); } } |
