summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-11 11:28:24 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-11 11:28:24 +0100
commit62f6775d4f447ee84df8bd7c2801cd018fcbb083 (patch)
tree3e6701e61db92dbf64c0af6ce3e80d301c661e63
parente76a70308c30cc8f191ae6b275e3da5f70ba5d16 (diff)
Reduce minimum "non-standard" ISDCF part name length to 1.
Otherwise on macOS (at least) you can't type in any numbers, seemingly because it checks on each keypress so e.g. you clear it, enter 1 and a bell rings because 1 is too small. It's fine on Linux (a too-small number is corrected when you press enter).
-rw-r--r--src/wx/full_config_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc
index 175d78730..2d4679611 100644
--- a/src/wx/full_config_dialog.cc
+++ b/src/wx/full_config_dialog.cc
@@ -1562,7 +1562,7 @@ private:
_allow_96khz_audio->bind(&NonStandardPage::allow_96khz_audio_changed, this);
_use_all_audio_channels->bind(&NonStandardPage::use_all_channels_changed, this);
_allow_smpte_bv20->bind(&NonStandardPage::allow_smpte_bv20_changed, this);
- _isdcf_name_part_length->SetRange(14, 256);
+ _isdcf_name_part_length->SetRange(1, 256);
_isdcf_name_part_length->Bind(wxEVT_SPINCTRL, boost::bind(&NonStandardPage::isdcf_name_part_length_changed, this));
}