From 63b1442519ce5032a7fd85d9585aa203de639f27 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 20 Dec 2023 23:41:49 +0100 Subject: Add validity check to Timecode. --- src/wx/timecode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wx/timecode.cc') 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()); } } -- cgit v1.2.3