Do not render the CustomOption if it's supposed to be invisible
This commit is contained in:
parent
4c9b303d1c
commit
b5cf13a80b
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user