Do not process invisible CustomOptions; this results in a crash
This commit is contained in:
parent
60cd1ed4c6
commit
c7016c7cac
@ -193,6 +193,9 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs
|
||||
{
|
||||
foreach (CustomOption eo in mvarCustomOptions)
|
||||
{
|
||||
// Do not process invisible CustomOptions; this results in a crash
|
||||
if (!eo.Visible) continue;
|
||||
|
||||
Control ctl = CustomOptionControls[eo.PropertyName];
|
||||
if (ctl is NumericUpDown)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user