diff options
Diffstat (limited to 'UVtools.GUI/Forms/FrmToolWindow.cs')
-rw-r--r-- | UVtools.GUI/Forms/FrmToolWindow.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/UVtools.GUI/Forms/FrmToolWindow.cs b/UVtools.GUI/Forms/FrmToolWindow.cs index 823c375..8cc5617 100644 --- a/UVtools.GUI/Forms/FrmToolWindow.cs +++ b/UVtools.GUI/Forms/FrmToolWindow.cs @@ -184,6 +184,11 @@ namespace UVtools.GUI.Forms btnOk.Enabled = content.ButtonOkEnabled; //content.AutoSize = true; + if (string.IsNullOrEmpty(content.ButtonOkText)) + { + btnOk.Visible = false; + } + if (!content.CanROI) { pnROI.Visible = false; |