Skip to content

Commit

Permalink
Merge pull request #1304 from sillsdev/BL-12373-BulletProofScriptAndV…
Browse files Browse the repository at this point in the history
…ariantDlg

Prevent editing combobox controls for Script and Variant dialog
  • Loading branch information
StephenMcConnel authored Nov 7, 2023
2 parents 683679a + 0af00d3 commit ff6e273
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

- [SIL.Windows.Forms.WritingSystem.WSIdentifiers] Changed ComboBox controls in WSIdentifierView and ScriptRegionVariantView to DropDownList style to prevent accidental editing that shouldn't happen
- [SIL.Windows.Forms.ClearShare] Make Metadata.Write (and a few other methods) more robust
- [SIL.Core.Desktop] Make FileUtils.ReplaceFileWithUserInteractionIfNeeded robust
- [SIL.Core] Make RobustFile.ReplaceByCopyDelete truly robust
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public void BindToModel(WritingSystemSetupModel model)
_specialTypeComboBox.DisplayMember = "ChoiceName";
_specialTypeComboBox.SelectedIndex = 0;
UpdateFromModel();
_specialTypeComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
_specialTypeComboBox.SelectedIndexChanged += specialTypeComboBox_SelectedIndexChanged;
if (_model.IsSpecialComboLocked)
{
Expand Down

0 comments on commit ff6e273

Please sign in to comment.