diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/CustomOptionsDialog.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/CustomOptionsDialog.cs index 38459475..1dc2da55 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/CustomOptionsDialog.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/Dialogs/CustomOptionsDialog.cs @@ -38,6 +38,9 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs foreach (CustomOption eo in mvarCustomOptions) { + // do not render the CustomOption if it's supposed to be invisible + if (!eo.Visible) continue; + if (!(eo is CustomOptionBoolean)) { Label lbl = new Label();