diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-12-20 23:41:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-12 23:41:00 +0100 |
| commit | 63b1442519ce5032a7fd85d9585aa203de639f27 (patch) | |
| tree | eeafe8fb0e5ca2255208241d261b8f093256dc94 /src/wx/timecode.cc | |
| parent | 9936ec84cb2a5e5f8f4fe77bcd5742f06bdb2d6c (diff) | |
Add validity check to Timecode.
Diffstat (limited to 'src/wx/timecode.cc')
| -rw-r--r-- | src/wx/timecode.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index 1e6a1930d..64fe87190 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -114,7 +114,7 @@ void TimecodeBase::changed () { if (_set_button && !_ignore_changed) { - _set_button->Enable (true); + _set_button->Enable(valid()); } } |
